/* support.css - Flatsome style with BEM naming */
.page-support {
  background-color: #08162b;
  color: #f3f8ff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

/* HERO */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.page-support__hero-image {
  width: 100%;
  max-width: 1200px;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.page-support__hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(79, 168, 255, 0.2);
}

.page-support__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px 20px;
  box-sizing: border-box;
  text-align: center;
}

.page-support__hero-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f3f8ff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-support__hero-description {
  color: #afc4e8;
  font-size: 1rem;
  margin: 0 0 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(180deg, #2b73f6 0%, #1144a6 100%);
  color: #f3f8ff;
  border: 1px solid #244d84;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(79, 168, 255, 0.3);
}

/* FAQ */
.page-support__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 16px 30px;
}

.page-support__faq-title {
  text-align: center;
  color: #f3f8ff;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-support__faq-item {
  background-color: #10233f;
  border: 1px solid #244d84;
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.2s ease;
}

.page-support__faq-item[open] {
  border-color: #4fa8ff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #f3f8ff;
  font-weight: 500;
  gap: 12px;
  margin: 0;
}

.page-support__faq-question::-webkit-details-marker {
  display: none;
}

.page-support__faq-toggle {
  color: #f2c14e;
  font-size: 1.2rem;
  font-weight: 600;
}

.page-support__faq-answer {
  color: #afc4e8;
  margin-top: 12px;
  font-size: 0.9rem;
  padding-top: 12px;
  border-top: 1px dashed #1b3357;
}

/* Contact */
.page-support__contact-section {
  background-color: #0a1a33;
  padding: 30px 16px;
  border-top: 1px solid #1b3357;
  border-bottom: 1px solid #1b3357;
}

.page-support__contact-title {
  text-align: center;
  color: #f3f8ff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-support__contact-description {
  text-align: center;
  color: #afc4e8;
  max-width: 700px;
  margin: 0 auto 28px;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-support__contact-card {
  background-color: #10233f;
  border: 1px solid #244d84;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support__contact-card-title {
  color: #f2c14e;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.page-support__contact-card-text {
  color: #afc4e8;
  font-size: 0.9rem;
  margin-bottom: 18px;
  min-height: 3.5em;
}

.page-support__contact-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, #2b73f6 0%, #1144a6 100%);
  color: #f3f8ff;
  border: 1px solid #244d84;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__contact-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(79, 168, 255, 0.3);
}

/* Guide */
.page-support__guide-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px 40px;
}

.page-support__guide-title {
  text-align: center;
  color: #f3f8ff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-support__guide-description {
  text-align: center;
  color: #afc4e8;
  max-width: 700px;
  margin: 0 auto 28px;
}

.page-support__guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-support__guide-figure {
  margin: 0;
  background-color: #10233f;
  border: 1px solid #244d84;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.page-support__guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.page-support__guide-figure figcaption {
  padding: 16px 18px;
  text-align: center;
}

.page-support__guide-link {
  color: #f3f8ff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-support__guide-link:hover {
  color: #f2c14e;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .page-support__guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-support__hero-image img {
    aspect-ratio: 2 / 1;
  }

  .page-support__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-support__faq-item {
    padding: 14px 16px;
  }

  .page-support__contact-card {
    padding: 18px;
  }

  .page-support__hero-cta,
  .page-support__contact-button {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-support__contact-grid {
    grid-template-columns: 1fr;
  }

  .page-support__contact-card-text {
    min-height: auto;
  }

  .page-support img {
    max-width: 100% !important;
    height: auto !important;
  }
}