/* Font Import */
@import url('https://fonts.cdnfonts.com/css/helvetica-neue-9');

:root {
  --text-black: #000000;
  --background-white: #FFFFFF;
  --section-bg: #F8F9FA;
  --border-light: #E5E5EA;
  --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.08);
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --green-50: #F0FDF4;
  --green-200: #BBF7D0;
  --green-700: #15803D;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #F5F5F7;
  color: var(--text-black);
  line-height: 1.8;
  padding: 24px 16px;
  font-size: 17px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  counter-reset: section;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--background-white);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: var(--shadow-light);
}

/* Sections */
.section {
  margin: 40px 0;
  padding: 30px;
  background: var(--section-bg);
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-section {
  padding-top: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.section-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 20px 0;
  display: block;
  border-radius: 10px;
}

/* Headings and Numbering */
h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

h2[data-number]:not(#privacy-policy-heading):not(#support-heading):before {
  counter-increment: section;
  content: counter(section) ". ";
  font-weight: 700;
  color: var(--text-black);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-black);
  margin: 20px 0 12px;
}

h3[data-number]:before {
  content: attr(data-number) " ";
  font-weight: 600;
  color: var(--text-black);
}

/* Content */
p {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--text-black);
  font-weight: 300;
  text-align: justify;
}

ul {
  padding-left: 24px;
  margin: 16px 0;
  font-weight: 300;
  text-align: justify;
}

li {
  margin: 8px 0;
  font-weight: 300;
  text-align: justify;
}

ul.two-column {
  column-count: 2;
  column-gap: 30px;
}

@media (max-width: 768px) {
  ul.two-column {
    column-count: 1;
  }
}

/* Meta info grid */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  text-align: justify;
}

.meta-item {
  display: flex;
  gap: 8px;
}

.meta-label {
  font-weight: 500;
  color: var(--text-black);
}

.meta-value {
  font-weight: 300;
  color: var(--text-black);
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  text-align: justify;
}

.contact-card {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: justify;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--text-black);
  font-weight: 600;
}

.contact-card a {
  color: var(--text-black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #333;
}

/* FAQ Items */
.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 16px;
}

/* Contact Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-black);
  background: white;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--blue-600);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: var(--blue-700);
}

.form-response {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

.form-response.hidden {
  display: none;
}

/* Contact Links */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-black);
  font-weight: 300;
  transition: background 0.2s ease;
}

.contact-link:hover {
  background: #E2E8F0;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--text-black);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
}

.back-to-top:hover {
  transform: scale(1.1);
  background: #333;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-black);
  font-weight: 300;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 16px;
    font-size: 16px;
  }

  .container {
    padding: 24px;
    border-radius: 8px;
  }

  .header-section {
    padding: 20px;
  }

  .section-logo {
    width: 50px;
    height: 50px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .section {
    padding: 20px;
  }

  p, li {
    font-size: 16px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px;
    font-size: 15px;
  }

  .container {
    padding: 16px;
    border-radius: 0;
  }

  .section-logo {
    width: 40px;
    height: 40px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    margin: 24px 0;
    padding: 16px;
  }

  p, li {
    font-size: 15px;
  }

  .back-to-top {
    bottom: 12px;
    right: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
