/* ===== Page Login Styles ===== */
.page-login {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

/* ---- Hero Section ---- */
.page-login__hero-section {
  padding-top: 10px;
}

.page-login__hero-image-wrap {
  width: 100%;
}

.page-login__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

.page-login__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 20px;
  text-align: center;
}

.page-login__main-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 12px;
  letter-spacing: -0.01em;
}

.page-login__hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #3A4A5A;
  max-width: 780px;
  margin: 0 auto 20px;
}

.page-login__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.45);
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #D6E2FF;
}

.page-login__btn-secondary:hover {
  border-color: #2F6BFF;
  background: #F0F5FF;
}

/* ---- Logo Section ---- */
.page-login__logo-section {
  padding: 24px 16px 32px;
  background-color: #ffffff;
}

.page-login__section-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 24px;
}

.page-login__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.page-login__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  width: 100%;
}

.page-login__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
}

.page-login__logo-cta {
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__logo-cta:hover {
  opacity: 0.9;
}

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

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

/* ---- Guide Section ---- */
.page-login__guide-section {
  background-color: #F4F7FB;
}

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

.page-login__guide-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 16px;
}

.page-login__guide-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: #3A4A5A;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-login__guide-step {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  padding: 0 0 20px 0;
}

.page-login__guide-figure {
  margin: 0 0 16px 0;
  background: #eef3fc;
}

.page-login__guide-image {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.page-login__guide-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F2D3D;
  padding: 0 20px;
  margin-bottom: 8px;
}

.page-login__guide-step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4A5A6A;
  padding: 0 20px;
}

.page-login__guide-step-text a {
  color: #2F6BFF;
  font-weight: 600;
  text-decoration: underline;
}

/* ---- FAQ Section ---- */
.page-login__faq-section {
  background-color: #ffffff;
}

.page-login__faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-login__faq-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 24px;
}

.page-login__faq-item {
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #F8FAFD;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #1F2D3D;
  list-style: none;
}

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

.page-login__faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2F6BFF;
  flex-shrink: 0;
  line-height: 1;
}

.page-login__faq-answer {
  padding: 0 20px 16px;
  color: #3A4A5A;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ---- CTA Section ---- */
.page-login__cta-section {
  padding: 40px 16px 56px;
  background-color: #F4F7FB;
}

.page-login__cta-banner {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #D6E2FF;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.08);
}

.page-login__cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 12px;
}

.page-login__cta-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #3A4A5A;
  margin-bottom: 20px;
}

.page-login__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-login__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-login__logo-item:nth-child(5),
  .page-login__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: 8px;
  }

  .page-login__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-login__hero-content {
    padding: 16px 12px 16px;
  }

  .page-login__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .page-login__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .page-login__logo-item:nth-child(5),
  .page-login__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-login__logo-cta {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .page-login__guide-title {
    font-size: 1.2rem;
  }

  .page-login__guide-figure {
    width: 100%;
  }

  .page-login__guide-step-title {
    font-size: 1.05rem;
  }

  .page-login__cta-banner {
    padding: 24px 16px;
  }

  .page-login__cta-title {
    font-size: 1.15rem;
  }

  .page-login__cta-actions {
    flex-direction: column;
  }

  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__guide-image {
    aspect-ratio: 16 / 10;
  }

  .page-login__faq-question {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .page-login__faq-answer {
    padding: 0 14px 14px;
    font-size: 0.88rem;
  }
}