/*--------------------------------------------------------------
# Support Page
--------------------------------------------------------------*/
body.support-page {
  background: #fff;
  color: #191f28;
}

.support-page .main {
  padding-top: 72px;
}

/* Hero */
.support-hero {
  padding: 64px 0 40px;
  background: #fff;
}

.support-hero-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.support-hero-title {
  margin: 0 0 12px;
  color: #191f28;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.support-hero-desc {
  margin: 0;
  color: #6b7684;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

/* Guide sections */
.support-guide {
  padding: 48px 0 80px;
  background: #f2f4f6;
}

.support-guide--industry {
  padding-top: 32px;
  background: #fff;
}

.support-guide-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.support-guide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.support-guide-title {
  margin: 0 0 10px;
  color: #191f28;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.support-guide-desc {
  margin: 0;
  color: #6b7684;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

.support-guide-all-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #333d4b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.support-guide-all-link:hover {
  background: #f9fafb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #191f28;
  transform: translateY(-1px);
}

.support-guide-all-link:focus-visible {
  outline: 2px solid #5831fb;
  outline-offset: 2px;
}

/* Tabs */
.support-guide-tabs-wrap {
  margin-bottom: 28px;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.support-guide-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.support-guide-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: min-content;
  padding-bottom: 4px;
}

.support-guide-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6b7684;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.support-guide-tab:hover {
  color: #333d4b;
  background: rgba(255, 255, 255, 0.6);
}

.support-guide-tab.is-active {
  background: #fff;
  color: #191f28;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.support-guide-tab:focus-visible {
  outline: 2px solid #5831fb;
  outline-offset: 2px;
}

/* Panel fade */
.support-guide-panel {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.support-guide-panel.is-fading-out {
  opacity: 0;
  transform: translateY(10px);
}

.support-guide-panel.is-fading-in {
  opacity: 0;
  transform: translateY(10px);
}

/* Cards */
.support-guide-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.support-guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.support-guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.support-guide-card-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  line-height: 1;
}

.support-guide-card-title {
  margin: 0 0 10px;
  color: #191f28;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.support-guide-card-desc {
  flex: 1;
  margin: 0 0 20px;
  color: #6b7684;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
}

#supportPurpose .support-guide-card {
  min-height: 0;
}

#supportPurpose .support-guide-card-desc {
  margin-bottom: 0;
}

.support-guide-card-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #3182f6;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.support-guide-card-link:hover {
  color: #1b64da;
  gap: 6px;
}

.support-guide-card-link:focus-visible {
  outline: 2px solid #5831fb;
  outline-offset: 2px;
  border-radius: 4px;
}

#supportIndustry a.support-guide-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

#supportIndustry a.support-guide-card .support-guide-card-link:hover {
  gap: 2px;
}

#supportIndustry a.support-guide-card:hover .support-guide-card-link {
  color: #1b64da;
}

/* FAQ — match experience.html custom-faq */
.support-faq {
  padding: 72px 0 80px;
  background: #f9fafb;
}

.support-faq .custom-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: inherit;
}

.support-faq .custom-faq h1,
.support-faq .custom-faq h2 {
  margin: 0 0 40px;
  color: #4154f1;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.support-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-faq .faq-item {
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  transition: background 0.2s;
}

.support-faq .faq-item.active {
  background: #e4e4e4;
}

.support-faq .faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 24px;
  font-size: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  color: #191f28;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.support-faq .faq-item:not(.active):hover .faq-question {
  background: #f7f7f7;
}

.support-faq .faq-icon {
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  margin-left: 8px;
  color: #191f28;
  transition: transform 0.2s;
}

.support-faq .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.support-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 19px;
  background: #fff;
  padding: 0 24px;
  border-top: 1px solid #ededed;
  color: #222;
  line-height: 1.7;
  word-break: keep-all;
  transition:
    max-height 0.3s cubic-bezier(0.67, 0.13, 0.1, 1.11),
    padding 0.2s;
}

.support-faq .faq-item.active .faq-answer {
  padding: 18px 24px 26px;
  max-height: 480px;
  transition:
    max-height 0.4s cubic-bezier(0.67, 0.13, 0.1, 1.11),
    padding 0.3s;
}

/* CTA */
.support-cta {
  padding: 64px 0 96px;
  background: #fff;
}

.support-cta-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.support-cta-title {
  margin: 0 0 12px;
  color: #191f28;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.support-cta-desc {
  margin: 0 0 28px;
  color: #6b7684;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

.support-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.support-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.support-cta-btn--primary {
  background: #5831fb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(88, 49, 251, 0.28);
}

.support-cta-btn--primary:hover {
  background: #4a28d9;
  color: #fff;
  transform: translateY(-1px);
}

.support-cta-btn--ghost {
  background: #f2f4f6;
  color: #333d4b;
}

.support-cta-btn--ghost:hover {
  background: #e5e8eb;
  color: #191f28;
}

@media (max-width: 991px) {
  .support-guide-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .support-hero {
    padding: 48px 0 24px;
  }

  .support-guide {
    padding: 32px 0 56px;
  }

  .support-guide-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 24px;
  }

  .support-guide-all-link {
    align-self: flex-start;
  }

  .support-guide-cards {
    grid-template-columns: 1fr;
  }

  .support-guide-card {
    min-height: 0;
    padding: 24px 20px 20px;
  }

  .support-faq {
    padding: 48px 0 56px;
  }

  .support-faq .custom-faq h1,
  .support-faq .custom-faq h2 {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .support-faq .faq-question {
    font-size: 17px;
    padding: 18px;
  }

  .support-faq .faq-icon {
    font-size: 24px;
  }

  .support-faq .faq-answer {
    font-size: 15px;
    padding: 0 18px;
  }

  .support-faq .faq-item.active .faq-answer {
    padding: 14px 18px 20px;
  }

  .support-cta {
    padding: 48px 0 72px;
  }

  .support-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .support-cta-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-guide-panel,
  .support-guide-tab,
  .support-guide-card,
  .support-guide-all-link,
  .support-cta-btn {
    transition: none;
  }

  .support-guide-card:hover {
    transform: none;
  }
}
