/* ===== SX66 About Page Styles ===== */
.page-about {
  color: #F2FFF6;
  background-color: #08160F;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ----- Hero Section with Image Above Text ----- */
.page-about__hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-height: 675px;
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(87, 227, 141, 0.2);
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-about__main-title {
  color: #F2C14E;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 900px;
  margin: 0 auto 16px;
}

.page-about__intro-text {
  color: #A7D9B8;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* ----- Buttons ----- */
.page-about__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #08160F;
  border-color: #2AD16F;
}

.page-about__btn--secondary {
  background: transparent;
  color: #57E38D;
  border-color: #57E38D;
}

.page-about__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 209, 111, 0.4);
}

.page-about__btn--secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* ----- Logo Grid (4 columns top, 2 center bottom) ----- */
.page-about__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 16px;
}

.page-about__logo-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 20px;
  padding: 24px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(87, 227, 141, 0.2);
}

.page-about__logo-item img {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.page-about__logo-item-title {
  color: #F2FFF6;
  font-size: 1.2rem;
  margin: 0 0 20px;
  font-weight: 700;
}

.page-about__logo-cta {
  display: inline-block;
  padding: 8px 24px;
  background-color: #0A4B2C;
  color: #F2FFF6;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #2E7A4E;
}

.page-about__logo-cta:hover {
  background-color: #57E38D;
  color: #08160F;
}

.page-about__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-about__logo-item:nth-child(6) {
  grid-column: 3;
}

/* ----- Guide Sections (Informational content) ----- */
.page-about__guide-section {
  background-color: #08160F;
  border-top: 1px solid #1E3A2A;
}

.page-about__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.page-about__guide-title {
  color: #F2C14E;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.page-about__guide-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #57E38D, #F2C14E);
  margin: 12px auto 0;
  border-radius: 2px;
}

.page-about__guide-section h3 {
  color: #57E38D;
  margin: 32px 0 8px;
  font-size: 1.4rem;
}

.page-about__guide-section h3:first-of-type {
  margin-top: 0;
}

.page-about__guide-section p {
  color: #A7D9B8;
  margin-bottom: 16px;
}

.page-about__guide-section strong {
  color: #F2FFF6;
}

.page-about__guide-section figure {
  margin: 24px 0;
}

.page-about__guide-section figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(87, 227, 141, 0.1);
}

.page-about__guide-section figcaption {
  color: #A7D9B8;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 12px;
}

.page-about__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-about__guide-list li {
  color: #A7D9B8;
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.page-about__guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #2AD16F, #13994A);
  border-radius: 50%;
}

.page-about__guide-highlight {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
}

.page-about__guide-badge {
  display: inline-block;
  background-color: #F2C14E;
  color: #08160F;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.page-about__guide-highlight p {
  margin-bottom: 20px;
}

.page-about__guide-conclusion {
  font-size: 1.1rem;
  text-align: center;
  border-left: 4px solid #F2C14E;
  padding: 16px;
  color: #F2FFF6;
  background-color: #0A4B2C;
  border-radius: 8px;
  margin-top: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

/* ----- Responsive Styles for Tablet (max-width: 1024px) ----- */
@media (max-width: 1024px) {
  .page-about__logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-about__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-about__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-about__hero-image img {
    border-radius: 16px;
  }
}

/* ----- Responsive Styles for Mobile (max-width: 768px) ----- */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 8px 16px 0;
  }

  .page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    border-radius: 12px;
  }

  .page-about__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px auto;
  }

  .page-about__logo-item {
    padding: 16px 12px 20px;
  }

  .page-about__logo-item img {
    width: 100%;
    max-width: 150px;
  }

  .page-about__logo-cta {
    font-size: 0.9rem;
    padding: 8px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-about__logo-item-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .page-about__guide-inner {
    padding: 32px 16px 48px;
  }

  .page-about__guide-title {
    font-size: 1.5rem;
  }

  .page-about__guide-section h3 {
    font-size: 1.2rem;
  }

  .page-about__guide-figure figcaption {
    font-size: 0.8rem;
  }

  .page-about__btn {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin: 8px 0;
    display: block;
    text-align: center;
  }

  .page-about__guide-highlight {
    padding: 20px;
  }

  .page-about__guide-conclusion {
    font-size: 0.95rem;
    padding: 12px;
  }

  .page-about {
    max-width: 100%;
    overflow-x: hidden;
  }

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