/* Shared visual refresh for About, FAQ, Contact, Terms, and Privacy. */
body .about-page-container,
body .faq-page-container,
body .contact-page-container,
body .terms-container,
body .privacy-container {
  min-height: calc(100vh - 160px);
  padding: 112px 0 3.5rem;
  color: var(--text-primary);
}

body .about-page-container > .container,
body .faq-page-container > .container,
body .contact-page-container > .container,
body .terms-container > .container,
body .privacy-container > .container {
  width: min(100% - 2rem, 1160px);
  max-width: 1160px;
  gap: 0;
}

body .about-page-header,
body .faq-page-header,
body .contact-page-header,
body .terms-header,
body .privacy-header {
  margin: 0 auto 2rem;
  text-align: center;
}

body .about-page-header h1,
body .faq-page-header h1,
body .contact-page-header h1,
body .terms-header h1,
body .privacy-header h1 {
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.75rem;
  color: #f7fbff;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

body .about-page-header h1 > i,
body .about-page-header h1 > svg,
body .faq-page-header h1 > i,
body .faq-page-header h1 > svg,
body .contact-page-header h1 > i,
body .contact-page-header h1 > svg,
body .terms-header h1 > i,
body .terms-header h1 > svg,
body .privacy-header h1 > i,
body .privacy-header h1 > svg {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(0, 255, 157, 0.42);
  border-radius: 14px;
  background: linear-gradient(145deg, #00e99a, #00c982);
  color: #08243a;
  filter: drop-shadow(0 7px 18px rgba(0, 255, 157, 0.18));
}

body .about-page-header p,
body .faq-page-header p,
body .contact-page-header p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(226, 236, 249, 0.74);
  font-size: 1rem;
  line-height: 1.7;
}

body .about-main-card,
body .faq-section-block,
body .faq-cta-block,
body .contact-info-card,
body .contact-form-card,
body .terms-content,
body .privacy-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 207, 235, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(66, 91, 124, 0.78), rgba(34, 57, 89, 0.88));
  box-shadow: 0 18px 44px rgba(4, 14, 32, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 0 rgba(0, 255, 157, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body .about-main-card,
body .terms-content,
body .privacy-content {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

body .about-logo-section {
  padding-bottom: 1.75rem;
  border-bottom-color: rgba(191, 211, 240, 0.16);
}

body .about-logo-section h2,
body .contact-info-card h2,
body .contact-form-card h2 {
  color: #f4f8ff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body .about-logo-section p,
body .about-info-block p,
body .about-list li,
body .about-feature-item,
body .about-cta p {
  color: rgba(226, 236, 249, 0.76);
}

body .about-grid {
  gap: 1rem;
  margin: 1.5rem 0;
}

body .about-info-block {
  padding: 1.25rem;
  border: 1px solid rgba(188, 207, 235, 0.13);
  border-radius: 18px;
  background: rgba(11, 29, 53, 0.24);
}

body .about-info-block h3,
body .faq-section-block h2,
body .faq-cta-block h2,
body .terms-section h2,
body .privacy-section h2 {
  color: #00e99a;
}

body .about-list li::before {
  content: '›';
  font-size: 1.2rem;
  font-weight: 700;
}

body .about-features-grid {
  gap: 0.75rem;
  padding: 1rem;
  border-color: rgba(188, 207, 235, 0.15);
  background: rgba(11, 29, 53, 0.26);
}

body .about-feature-item {
  border: 1px solid transparent;
  border-radius: 14px;
}

body .about-feature-item:hover {
  border-color: rgba(0, 255, 157, 0.22);
  background: rgba(0, 255, 157, 0.08);
  color: #fff;
}

body .about-cta {
  border-top-color: rgba(191, 211, 240, 0.16);
}

body .about-cta h3 {
  color: #f4f8ff;
}

body .btn-accent-about,
body .faq-cta-block .btn-accent,
body .contact-submit-btn,
body .terms-header .admin-button,
body .privacy-header .admin-button {
  min-height: 46px;
  justify-content: center;
  border: 1px solid rgba(132, 255, 210, 0.48);
  border-radius: 14px;
  background: linear-gradient(135deg, #00e99a, #00c982);
  box-shadow: 0 8px 22px rgba(0, 211, 137, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #06233a;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body .btn-accent-about:hover,
body .faq-cta-block .btn-accent:hover,
body .contact-submit-btn:hover,
body .terms-header .admin-button:hover,
body .privacy-header .admin-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #19f5aa, #00d88b);
  box-shadow: 0 11px 26px rgba(0, 230, 149, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  filter: saturate(1.08);
}

body .btn-outline-about,
body .faq-cta-block .btn-secondary-outline {
  min-height: 46px;
  justify-content: center;
  border: 1px solid rgba(188, 207, 235, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #edf4ff;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body .btn-outline-about:hover,
body .faq-cta-block .btn-secondary-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 157, 0.5);
  background: rgba(0, 255, 157, 0.09);
  color: #a8ffdf;
}

body .faq-page-content {
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

body .faq-section-block,
body .faq-cta-block,
body .contact-info-card,
body .contact-form-card {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

body .faq-section-block h2 {
  margin-bottom: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom-color: rgba(191, 211, 240, 0.17);
  font-size: 1.25rem;
}

body .faq-item {
  border-bottom-color: rgba(191, 211, 240, 0.13);
}

body .faq-question {
  gap: 1rem;
  margin: 0.25rem -0.65rem;
  padding: 0.9rem 0.65rem;
  border-radius: 12px;
  color: #f0f5ff;
  transition: color 180ms ease, background 180ms ease;
}

body .faq-question:hover,
body .faq-item.open .faq-question {
  background: rgba(0, 255, 157, 0.07);
  color: #9dffd8;
}

body .faq-toggle-icon {
  color: #00e99a;
}

body .faq-answer p {
  padding: 0 0.65rem 1rem;
  color: rgba(226, 236, 249, 0.75);
}

body .faq-cta-block {
  text-align: center;
}

body .faq-cta-block p {
  color: rgba(226, 236, 249, 0.76);
}

body .faq-cta-buttons {
  gap: 0.75rem;
}

body .contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.1rem;
}

body .contact-info-card h2,
body .contact-form-card h2 {
  margin-bottom: 1.25rem;
}

body .contact-info-item {
  margin-bottom: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(188, 207, 235, 0.12);
  border-radius: 15px;
  background: rgba(11, 29, 53, 0.24);
}

body .contact-info-item:last-child {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(188, 207, 235, 0.12);
}

body .contact-info-item strong,
body .contact-info-item p,
body .contact-logged {
  color: rgba(226, 236, 249, 0.78);
}

body .contact-info-item strong {
  color: #f4f8ff;
}

body .contact-info-item i,
body .contact-info-item svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(0, 255, 157, 0.28);
  border-radius: 12px;
  background: rgba(0, 255, 157, 0.09);
  color: #00e99a;
}

body .contact-link {
  color: #50f5b8;
  font-weight: 600;
  text-underline-offset: 3px;
}

body .form-group label {
  color: #d6e3f4;
  font-size: 0.9rem;
  font-weight: 600;
}

body .contact-form .form-group input,
body .contact-form .form-group textarea,
body .contact-form .contact-select {
  min-height: 46px;
  border: 1px solid rgba(188, 207, 235, 0.18);
  border-radius: 12px;
  background: rgba(11, 29, 53, 0.54);
  color: #f4f8ff;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body .contact-form .form-group textarea {
  min-height: 140px;
  resize: vertical;
}

body .contact-form .form-group input:focus,
body .contact-form .form-group textarea:focus,
body .contact-form .contact-select:focus {
  border-color: rgba(0, 255, 157, 0.72);
  background: rgba(11, 29, 53, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.11);
}

body .contact-form .form-group input::placeholder,
body .contact-form .form-group textarea::placeholder {
  color: rgba(213, 226, 244, 0.48);
}

body .contact-select option {
  background: #1d3558;
}

body .contact-submit-btn {
  width: 100%;
  cursor: pointer;
}

body .contact-success {
  border-color: rgba(0, 255, 157, 0.24);
  background: rgba(0, 255, 157, 0.08);
  color: #a8ffdf;
}

body .terms-header,
body .privacy-header {
  margin-bottom: 1.75rem;
}

body .terms-header .last-updated,
body .privacy-header .last-updated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0;
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(188, 207, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(226, 236, 249, 0.72);
  font-size: 0.85rem;
  font-style: normal;
}

body .terms-header .admin-actions,
body .privacy-header .admin-actions {
  margin-top: 0.85rem;
}

body .terms-header .admin-button,
body .privacy-header .admin-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

body .terms-section,
body .privacy-section {
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom-color: rgba(191, 211, 240, 0.15);
}

body .terms-section:last-child,
body .privacy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

body .terms-section h2,
body .privacy-section h2 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
}

body .terms-section p,
body .privacy-section p,
body .terms-section li,
body .privacy-section li {
  color: rgba(231, 239, 250, 0.8);
  line-height: 1.75;
}

body .terms-section ul,
body .privacy-section ul {
  padding-left: 1.25rem;
}

body .terms-section strong,
body .privacy-section strong {
  color: #f5f9ff;
}

body .terms-content a,
body .privacy-content a {
  color: #57f4ba;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  body .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body .about-page-container,
  body .faq-page-container,
  body .contact-page-container,
  body .terms-container,
  body .privacy-container {
    padding: 96px 0 2.5rem;
  }

  body .about-page-container > .container,
  body .faq-page-container > .container,
  body .contact-page-container > .container,
  body .terms-container > .container,
  body .privacy-container > .container {
    width: min(100% - 1.25rem, 1160px);
  }

  body .about-page-header,
  body .faq-page-header,
  body .contact-page-header,
  body .terms-header,
  body .privacy-header {
    margin-bottom: 1.4rem;
  }

  body .about-page-header h1,
  body .faq-page-header h1,
  body .contact-page-header h1,
  body .terms-header h1,
  body .privacy-header h1 {
    gap: 0.65rem;
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  body .about-page-header h1 > i,
  body .about-page-header h1 > svg,
  body .faq-page-header h1 > i,
  body .faq-page-header h1 > svg,
  body .contact-page-header h1 > i,
  body .contact-page-header h1 > svg,
  body .terms-header h1 > i,
  body .terms-header h1 > svg,
  body .privacy-header h1 > i,
  body .privacy-header h1 > svg {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 12px;
  }

  body .about-main-card,
  body .faq-section-block,
  body .faq-cta-block,
  body .contact-info-card,
  body .contact-form-card,
  body .terms-content,
  body .privacy-content {
    border-radius: 19px;
  }

  body .about-grid {
    grid-template-columns: 1fr;
  }

  body .about-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .faq-cta-buttons > a,
  body .about-cta-buttons > a {
    flex: 1 1 100%;
  }

  body .terms-section ul,
  body .privacy-section ul {
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .about-feature-item,
  body .btn-accent-about,
  body .btn-outline-about,
  body .faq-question,
  body .faq-toggle-icon,
  body .faq-cta-block .btn-accent,
  body .faq-cta-block .btn-secondary-outline,
  body .contact-form .form-group input,
  body .contact-form .form-group textarea,
  body .contact-form .contact-select,
  body .contact-submit-btn,
  body .terms-header .admin-button,
  body .privacy-header .admin-button {
    transition-duration: 0.01ms;
  }
}
