/* CSS Reset - 去掉浏览器默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* 移动端自适应字体大小 */
@media (max-width: 749px) {
  html {
    font-size: calc(100vw / 23.4375); /* 基于375px设计稿: 375/16=23.4375 */
    font-size: clamp(12px, calc(100vw / 23.4375), 18px);
  }
}

/* 大屏移动设备 */
@media (min-width: 414px) and (max-width: 749px) {
  html {
    font-size: calc(100vw / 25.875); /* 基于414px设计稿: 414/16=25.875 */
    font-size: clamp(14px, calc(100vw / 25.875), 18px);
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: Noto Sans S Chinese, Noto Sans S Chinese;
  background-color: #f0f2f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.page-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
}

/* Hero Section */
.hero-section {
  background: url("/wp-content/uploads/assets/images/whatsapp/imgs/pcBanner.png") no-repeat center center;
  background-size: cover;
}

.hero-content h1 {
  font-weight: bold;
  font-size: 3rem;
  color: #fffdfd;
  text-align: left;
}

.hero-content p {
  font-family: Noto Sans S Chinese, Noto Sans S Chinese;
  font-weight: 400;
  font-size: 1.2rem;
  color: #ffffff;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 1.4375rem;
}

.cta-button {
  background-color: #ffff00;
  color: #000000;
  padding: 0.8125rem 1.25rem;
  text-decoration: none;
  border-radius: 3.125rem;
  font-weight: bold;
  display: inline-block;
}

.hero-image img {
  width: 6.25rem;
  margin-top: 1.25rem;
}

/* Features Section */
.features-section {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background-color: #fff;
}

.features-section h2 {
  font-size: 2em;
  color: #353535;
  font-weight: bold;
}
.features-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid img {
  margin-right: 3.75rem;
}
.feature-item {
  margin-top: 2.0625rem;
}

.feature-item h3 {
  margin-bottom: 0.75rem;
  font-weight: bold;
  font-size: 1.5rem;
  color: #2b2b2b;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.feature-item p {
  font-weight: 400;
  font-size: 0.875rem;
  color: #353535;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* Advantages Section */
.advantages-section {
  padding: 2.5rem 1.25rem;
  background-color: #f8f9fa;
  text-align: center;
}

.advantages-section h2 {
  font-size: 2em;
  margin-bottom: 2.5rem;
  color: #353535;
  font-weight: bold;
}

.advantage-item {
  margin-bottom: 1.875rem;
}

.advantage-item img {
  /* width: 80px;
  height: 80px; */
  /* margin-bottom: 15px; */
  /* border-radius: 12px; */
  /* padding: 15px; */
  box-sizing: border-box;
}

.advantage-item h3 {
  font-weight: bold;
  font-size: 1.5rem;
  color: #2b2b2b;
  margin-bottom: 0.625rem;
  font-weight: bold;
}

.advantage-item p {
  color: #353535;
}

/* Solution Section */
.solution-section {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background-color: #fff;
}

.solution-section h2 {
  font-size: 2em;
  margin-bottom: 1.25rem;
  color: #353535;
  font-weight: bold;
}

.subtitle {
  color: #353535;
  margin-bottom: 2.5rem;
  font-size: 1.1em;
}

.solution-steps {
  max-width: 50rem;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.875rem;
  text-align: left;
}

.step-content h3 {
  margin: 0 0 0.625rem 0;
  color: #2b2b2b;
  font-size: 24px;
  font-weight: bold;
}

.step-content p {
  font-size: 14px;
  color: #353535;
  margin: 0;
}

.advantages-grid {
  display: block;
}

/* 移动端优势项目样式 */
.advantage-item {
  display: block;
}

.advantage-item img {
  display: block;
  margin: 0 auto 15px auto;
}

.advantage-item div {
  text-align: left;
}

@media (max-width: 1000px) {
  .solution-container {
    zoom: 0.6;
  }
}
/* PC styles */
@media (min-width: 751px) {
  .mobile-solution-container {
    display: none;
  }
  .mobile-contact-form {
    display: none;
  }

  /* PC端显示hero section */
  .hero-section {
    height: 380px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-image img {
    width: 150px;
    margin-top: 0;
  }

  /* 调整页面容器 */
  .page-container {
    padding-top: 80px;
  }

  /* Features section PC样式 */
  .features-section {
    padding: 64px 0;
  }

  .features-grid {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-item {
    flex: 1;
    margin-bottom: 0;
    padding: 0 15px;
  }

  /* Solution section PC样式 */
  .solution-section {
    padding: 60px 0;
  }

  .solution-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
  }
  .solution-container {
    margin: 0 auto;
    min-width: 1200px;
    max-width: 1200px;
    margin-top: 85px;
  }
  .col1 {
    position: relative;
    margin-bottom: 54px;
  }
  .col2 {
    position: relative;
  }
  .step-1 {
    position: absolute;
    left: 50px;
    top: -60px;
  }
  .step-2 {
    position: absolute;
    left: 450px;
    top: -60px;
  }
  .step-3 {
    position: absolute;
    left: 785px;
    top: -60px;
  }
  .step-4 {
    position: absolute;
    left: 50px;
    top: -60px;
  }
  .step-5 {
    position: absolute;
    left: 450px;
    top: -60px;
  }
  .step-6 {
    position: absolute;
    left: 785px;
    top: -60px;
  }
  .step-content {
    font-weight: 400;
    font-size: 14px;
    color: #353535;
    text-align: left;
    width: 300px;
  }
  .step {
    margin-bottom: 0;
  }

  /* Advantages section PC样式 */
  .advantages-section {
    padding: 64px 0;
    background-color: #f3f5ff;
  }

  .advantages-section h2 {
    margin-bottom: 16px;
    font-weight: bold;
    font-size: 2.25rem;
    color: #353535;
    text-align: center;
  }

  .advantages-section > p {
    margin-bottom: 60px;
    text-align: center;
    color: #353535;
    font-size: 1.1rem;
  }

  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }

  .advantage-item {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .advantage-item-imgbox {
    width: 273px;
    height: 237px;
  }

  .advantage-item div {
    flex: 1;
    text-align: left;
  }

  .advantage-item div h3 {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: bold;
    color: #353535;
    line-height: 1.4;
  }

  .advantage-item div p {
    margin: 0;
    color: #353535;
    line-height: 1.6;
    font-size: 1rem;
  }
}

/* Contact Section */
.contact-section {
  padding-bottom: 64px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.dot {
  width: 20px;
  height: 20px;
  background-color: #0366ff;
  border-radius: 50%;
  margin-right: 16px;
}
.contact-info {
  display: flex;
  align-items: center;
}
.contact-info h2 {
  font-size: 14px;
  font-weight: bold;
  color: #0366ff;
  font-weight: bold;
  color: #0366ff;
  margin-right: 24px;
}

.contact-form {
  display: flex;
  align-items: center;
}

.contact-form form {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-label {
  font-weight: 400;
  margin: 0 12px 0 50px;
  font-size: 14px;
  color: #000000;
}
.form-group {
  margin: 0;
}

.form-input {
  display: block;
  width: 100%;
  padding: 5.25px 10.5px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #0366ff;
  border-radius: 0.25rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-image: linear-gradient(180deg, #edf4ff 0, #ffffff 100%);
  font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem);
}

.form-input:focus {
  border-color: #0366ff;
  box-shadow: 0 0 0 3px rgba(3, 102, 255, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
  font-size: 14px;
}
.verification-code {
  width: 132px;
  height: 40px;
  background: #fcefcf;
}
.refresh-icon {
  width: 24px;
  height: 24px;
}
.submit-btn {
  background-color: #0366ff;
  color: #353535;
  border: none;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
}

/* Mobile styles for contact section */
@media (max-width: 750px) {
  /* 调整页面容器 */
  .page-container {
    padding-top: 58px;
  }
  /* Hero Section */
  .hero-section {
    background: url("/wp-content/uploads/assets/images/whatsapp/imgs/mobileBanner.png") no-repeat;
    background-size: cover;
    padding: 2.5rem 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-align: center;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-align: center;
  }

  .cta-button {
    font-size: 0.9rem;
    border-radius: 1.5rem;
  }

  /* Features Section */
  .features-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background-color: #ffffff;
  }

  .features-section h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333333;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .features-grid > img {
    display: block;
    margin: 0 auto 0rem;
    width: 80%;
  }
  .features-box {
    max-width: 350px;
  }
  .feature-item h3 {
    text-align: center;
    font-size: 1.125rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 0.5rem;
  }

  .feature-item p {
    text-align: center;
    font-size: 0.875rem;
    color: #353535;
    line-height: 1.6;
  }

  .solution-section {
    padding: 2.5rem 1.5rem 0rem 1.5rem;
  }

  .solution-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .solution-section p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  .subtitle {
    font-size: 1rem;
    margin-bottom: 1.875rem;
  }
  .mobile-solution-container img {
    height: 640px;
  }
  .mobile-step-number {
    font-weight: 900;
    font-size: 1.5rem;
    color: #0366ff;
    margin-right: 1rem;
  }

  .mobile-step h3 {
    font-weight: bold;
    font-size: 1rem;
    color: #2b2b2b;
  }
  .mobile-step-title {
    display: flex;
    align-items: baseline;
  }
  .mobile-step-content p {
    font-weight: 400;
    min-width: 200px;
    max-width: 250px;
    font-size: 0.8rem;
    color: #353535;
    text-align: left;
  }
  .mobile-solution-container {
    max-width: 330px;
    min-width: 330px;
    margin: 0 auto;
    position: relative;
  }
  .mobile-step1 {
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .mobile-step2 {
    position: absolute;
    top: 120px;
    right: 60px;
  }
  .mobile-step2 .mobile-step-title {
    flex-direction: row-reverse;
  }
  .mobile-step2 .mobile-step-number {
    margin-left: 16px;
    margin-right: 0;
  }
  .mobile-step3 {
    position: absolute;
    top: 213px;
    right: 20px;
  }
  .mobile-step4 {
    position: absolute;
    top: 330px;
    right: 60px;
  }
  .mobile-step4 .mobile-step-title {
    flex-direction: row-reverse;
  }
  .mobile-step4 .mobile-step-number {
    margin-left: 16px;
    margin-right: 0;
  }
  .mobile-step5 {
    position: absolute;
    top: 430px;
    right: 20px;
  }
  .mobile-step6 {
    position: absolute;
    top: 530px;
    right: 60px;
  }
  .mobile-step6 .mobile-step-title {
    flex-direction: row-reverse;
  }
  .mobile-step6 .mobile-step-number {
    margin-left: 16px;
    margin-right: 0;
  }
  /* Advantages Section */
  .advantages-section {
    padding: 2.5rem 1.5rem;
    background-color: #f3f5ff;
  }

  .advantages-section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 1rem;
  }

  .advantages-section > p {
    font-size: 0.875rem;
    color: #353535;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .advantages-grid {
    display: flex;
    flex-direction: column;
  }
  .solution-container {
    display: none;
  }

  .advantage-item {
    display: flex;
    align-items: center;
    gap: 0rem;
  }

  .advantage-item:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: 10px;
  }

  .advantage-item-text {
    flex-grow: 1;
    text-align: left;
  }

  .advantage-item-imgbox {
    flex-shrink: 0;
    margin-right: 1rem;
  }

  .advantage-item:nth-child(even) .advantage-item-imgbox {
    margin-right: 0;
    margin-left: 0.75rem;
  }
  .advantage-item {
    margin-bottom: 1rem;
  }

  .advantage-item img {
    width: 6rem;
    height: auto;
  }

  .advantage-item div h3 {
    font-size: 0.85rem;
    font-weight: bold;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
  }

  .advantage-item div p {
    font-size: 0.8rem;
    color: #353535;
    line-height: 1.6;
  }

  /* Contact Section */
  .contact-section {
    padding: 2.5rem 1.5rem;
    background-color: #ffffff;
  }

  .contact-container {
    display: none;
  }

  .mobile-contact-form {
    display: block;
    background-color: #ffffff;
    border-radius: 0.5rem;
    text-align: center;
  }

  .mobile-contact-form h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
  }

  .mobile-contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-form-group {
    width: 100%;
  }

  .input-with-icon {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    padding: 0 1rem;
  }

  .input-with-icon img {
    margin-right: 0.5rem;
    width: 0.75rem;
    height: 1.5rem;
  }

  .input-with-icon input {
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 0.75rem 0;
    font-size: 0.875rem;
  }

  .input-with-icon input::placeholder,
  .verification-group input::placeholder {
    color: #bbbbbb;
  }

  .verification-group {
    display: flex;
    gap: 0.5rem;
  }

  .verification-group input {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    flex-grow: 1;
  }

  .verification-group button {
    background-color: transparent;
    border: 1px solid #68a3ff;
    color: #488df8;
    padding: 0.75rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
  }

  .mobile-contact-form .submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: #fff8f8;
    background-color: #488df8;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  .contact-info {
    display: none;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .form-label {
    display: none;
  }

  .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    background-color: #ffffff;
  }

  .verification-code-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .verification-code {
    flex-grow: 1;
  }

  .get-code-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #0366ff;
    background-color: transparent;
    border: 1px solid #0366ff;
    border-radius: 0.25rem;
    cursor: pointer;
  }
}
