/* additional_styles.css — styles for /help/ and /info/ pages only */

/* ===== CSS CUSTOM PROPERTIES (inherited from main project) ===== */
:root {
  --radius: 0.625rem;
}

/* ===== BASE RESET & BODY ===== */
.help-page,
.info-page {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.help-page *,
.info-page * {
  box-sizing: border-box;
}

body {
  background-color: var(--surface-n0);
  color: var(--text-primary);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 3rem 2rem 5rem;
  }
}

/* ===== NAVIGATION HEADER ===== */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--surface-n10);
  border-bottom: 1px solid var(--surface-n40);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.011em;
}

.page-nav-logo:hover {
  color: var(--text-primary);
  opacity: 0.85;
}

.page-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.page-nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}

.page-nav-link:hover {
  background-color: var(--surface-n20);
  color: var(--text-primary);
}

.page-nav-link.active {
  background-color: var(--surface-n20);
  color: var(--text-primary);
  font-weight: 700;
}

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--surface-n40);
}

.page-header h1 {
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.25;
  letter-spacing: -0.011em;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.25rem;
  }
}

.page-header-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}

/* ===== SECTION HEADINGS ===== */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.011em;
  color: var(--text-primary);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--button-huge-standard);
  display: inline-block;
}

/* ===== Q&A BLOCKS (help page) ===== */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.qa-item {
  background-color: var(--surface-n10);
  border: 1px solid var(--surface-n40);
  border-radius: 15px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.qa-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--surface-n40);
}

.qa-item h3 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.375;
  color: var(--text-primary);
  margin: 0 0 0.625rem 0;
}

.qa-item p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-secondary);
  margin: 0;
}

.qa-item p a {
  color: var(--text-green);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.qa-item p a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.qa-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--button-huge-standard);
  color: var(--universal-black);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-right: 0.5rem;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ===== INFO PAGE SECTIONS ===== */
.info-section {
  background-color: var(--surface-n10);
  border: 1px solid var(--surface-n40);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.15s;
}

.info-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-section h2 {
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.011em;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--button-huge-standard);
  display: inline-block;
}

.info-section p {
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-section p a {
  color: var(--text-green);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.info-section p a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ===== FEATURE LIST / BULLET POINTS ===== */
.feature-list {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--button-huge-standard);
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background-color: var(--surface-n20);
  border: 1px solid var(--surface-n40);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat-card-value {
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--button-huge-standard);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-card-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== INLINE TAGS / BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--transparent-green);
  color: var(--text-green);
  white-space: nowrap;
}

.badge-neutral {
  background-color: var(--surface-n30);
  color: var(--text-secondary);
}

/* ===== INLINE CALLOUT BOX ===== */
.callout {
  background-color: var(--transparent-green);
  border: 1px solid var(--state-in-range);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-primary);
}

.callout-warning {
  background-color: var(--transparent-yellow);
  border-color: var(--state-progress);
}

.callout-info {
  background-color: var(--surface-n20);
  border-color: var(--surface-n40);
}

/* ===== RETURN TO HOME BUTTON ===== */
.home-btn-wrap {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-n40);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 10px;
  font-family: StaffWide, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.011em;
  text-decoration: none;
  transition: background-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  outline: none;
}

.home-btn-primary {
  background-color: var(--button-huge-standard);
  color: var(--universal-black);
  border: 1px solid var(--button-huge-outline);
  box-shadow: 0px 2px 44px 0px var(--translucent-green);
}

.home-btn-primary:hover {
  background-color: var(--button-huge-hover);
  box-shadow: 0 0 12px 4px var(--translucent-green);
}

.home-btn-secondary {
  background-color: var(--button-secondary-standard);
  color: var(--text-primary);
  border: 1px solid var(--surface-n40);
}

.home-btn-secondary:hover {
  background-color: var(--button-secondary-hover);
}

/* ===== FOOTER ===== */
.page-footer {
  margin-top: 4rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--surface-n40);
  background-color: var(--surface-n10);
  text-align: center;
}

.page-footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 640px) {
  .page-footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.page-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-footer-link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.page-footer-link:hover {
  color: var(--text-primary);
}

.page-footer-copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.text-muted {
  color: var(--text-secondary);
}

.text-accent {
  color: var(--text-green);
}

.font-display {
  font-family: StaffWide, sans-serif;
  letter-spacing: -0.011em;
}

/* ===== DIVIDER ===== */
.section-divider {
  border: none;
  border-top: 1px solid var(--surface-n40);
  margin: 2rem 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }

  .qa-item {
    padding: 1rem 1rem;
  }

  .info-section {
    padding: 1rem 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-btn-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .home-btn {
    justify-content: center;
  }
}