/* ==================== Reset ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 16px; /* 750px 及以上的基准字体大小 */
}

/* 750px 以下时，根据视口宽度自动缩放 */
@media (max-width: 750px) {
  :root {
    font-size: calc(16px * 100vw / 750px);
  }
}

html,
body {
  width: 100vw;
  height: 100%;
}

body {
  font-family:
    Montserrat,
    Roboto,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  background: #0a2564;

  color: #ffffff;
  overflow-x: hidden;
  min-height: 100dvh; /* 移动设备友好，不受导航栏影响 */
}

.container {
  position: relative;
  width: 46.875rem; /* 750px */
  min-height: 100dvh; /* 移动设备友好，不受导航栏影响 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 100%;

  background-image: url("../image/background_2x.png");
  background-size: 46.875rem 100%;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ==================== Header ==================== */
.header {
  padding: 1.75rem 2.5rem 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 8px */
}

.logo {
  flex-shrink: 0;
  width: 5.625rem; /* 90px */
  height: 5.625rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 2rem; /* 32px */
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* ==================== Main Content ==================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  padding: 0 2.5rem;
}

/* Title Section */
.title-section {
  padding: 2rem 0 0 0; /* 32px 0 0 0 */
}

.main-title {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1.5;
  color: #fed25f;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  text-align: center;
}

/* Subtitle Section */
.subtitle-section {
  padding: 1.25rem 0; /* 20px */
  margin: 1.25rem 0; /* 20px */
  position: relative;
  border-top: none;
  border-bottom: none;
  text-align: center;
}

.subtitle-section::before,
.subtitle-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #768bc3;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #fff 30%,
    #fff 70%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #fff 30%,
    #fff 70%,
    transparent
  );
}

.subtitle-section::before {
  top: 0;
}

.subtitle-section::after {
  bottom: 0;
}

.subtitle {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: -0.4px;
}

/* Features Section */
.features-section {
  padding: 1.5rem 0 1.5rem 2.5rem; /* 24px */
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  gap: 0.75rem; /* 12px */
  margin-bottom: 1rem; /* 16px */
  align-items: flex-start;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.bullet {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 1.75rem; /* 24px */
  line-height: 1;
  font-weight: 700;
  margin-top: 0;
}

.feature-item .text {
  font-size: 1.375rem; /* 22px */
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

.disclaimer {
  font-size: 1.375rem; /* 12px */
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
  line-height: 1.6;
  margin-top: 0;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 1.75rem 0;
  margin: 1.25rem 0;
  background: linear-gradient(to right, #041243, #060f34 50%, #041243);

  position: relative;
  border-top: none;
  border-bottom: none;
  text-align: center;
}

.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #768bc3;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #fff 30%,
    #fff 70%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #fff 30%,
    #fff 70%,
    transparent
  );
}

.contact-section::before {
  top: 0;
}

.contact-section::after {
  bottom: 0;
}

.whatsapp-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-link:active {
  transform: scale(0.98);
}

.whatsapp-label {
  display: block;
  font-size: 2.125rem; /* 34px */
  color: #fed25f;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==================== Payment Footer ==================== */
.payment-footer {
  position: relative;
  width: 100%;
  max-width: 46.875rem; /* 750px */
  margin-top: auto;
  padding: 1.25rem 1.875rem;
  background-color: #fff;
}

.gateways-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* 24px */
  flex-wrap: wrap;
}

.footer-logos {
  width: 100%;
  max-width: 46.875rem; /* 650px */
  height: auto;
  object-fit: contain;
}

/* ==================== Responsive ==================== */
/* rem 自动跟随，无需额外 @media，除了基础的 root font-size 已在顶部定义 */

/* 小屏幕容器调整 */
@media (max-width: 750px) {
  .container {
    width: 100%;
    max-width: none;
  }
}

/* ==================== Print Styles ==================== */
@media print {
  body {
    background-image: none;
  }
}
