:root {
  --primary: #00b76c;
  --primary-dark: #009959;
  --primary-light: #e9faf1;
  --accent-orange: #f97316;
  --text: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg: #ffffff;
  --footer-bg: #111827;
  --footer-text: #9ca3af;
  --radius: 0.24rem;
  --radius-sm: 0.16rem;
  --shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100px;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 0.16rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  width: 100%;
  max-width: 14.5rem;
  margin: 0 2.2rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0.08rem);
  border-bottom: 0.01rem solid #cacdcb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.72rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
}
.logo {
  height: 0.36rem;
  width: auto;
}

.logo-name {
  position: relative;
  top: 0.06rem;
  height: 0.32rem;
  width: auto;
  margin-left: 0.06rem;
}
.earth {
  height: 0.2rem;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.nav-link {
  font-size: 0.15rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  padding: 0.08rem 0.16rem;
  border: 0.01rem solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.15rem;
  font-weight: 500;
  line-height: 1.2;
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-account:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.nav-account-icon {
  width: 0.18rem;
  height: 0.18rem;
  flex-shrink: 0;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  font-size: 0.15rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.08rem 0.12rem;
  border-radius: 0.08rem;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
}

.lang-toggle .earth {
  height: 0.2rem;
  width: auto;
}

.lang-arrow {
  width: 0.14rem;
  height: 0.14rem;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.04rem);
  right: 0;
  min-width: 100%;
  background: #ffffff;
  border-radius: 0.08rem;
  box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 0.04rem 0;
  margin: 0;
  display: none;
  z-index: 200;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-menu li {
  padding: 0.08rem 0.12rem;
  font-size: 0.15rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu li:hover,
.lang-menu li.active {
  color: var(--primary);
  background: #f3f4f6;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0.34rem 0 1rem;
  /* padding-top: 1.2rem;
    margin-top: -0.84rem; */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../imgs/bg.png") no-repeat top center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 183, 108, 0.08) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(0, 183, 108, 0.08) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(0, 183, 108, 0.05) 0%,
      transparent 20%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem;
  align-items: center;
  grid-template-columns: auto auto;
}

.hero-content {
  padding-left: 0.3rem;
}
.hero-title {
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 0.24rem;
}

.hero-text {
  font-size: 0.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 5.4rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.hero-card .apply-btn {
  width: 100%;
  font-size: 0.3rem;
  margin-top: 40px;
  height: 0.84rem;
  line-height: 0.84rem;
}
.apply-img-wrap {
  position: relative;
  width: 7.3rem;
}
.hero-card img {
  max-width: 7.2rem;
  filter: drop-shadow(0 0.24rem 0.48rem rgba(0, 0, 0, 0.08));
}

.apply-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.4rem 0;
  pointer-events: none;
}

.apply-card-content > * {
  pointer-events: auto;
}

.apply-card-title {
  font-size: 0.2rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 10px;
}

.apply-card-amount {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.12rem;
  line-height: 1;
  text-align: center;
}

.apply-slider {
  width: 100%;
  /* padding: 0 0.18rem; */
  margin-top: 0.3rem;
  position: relative;
  user-select: none;
}

.apply-slider-track {
  height: 0.16rem;
  background: #e5e7eb;
  border-radius: 0.08rem;
  position: relative;
  overflow: hidden;
}

.apply-slider-progress {
  height: 100%;
  background: linear-gradient(90deg, #86efac, var(--primary));
  border-radius: 0.08rem;
  width: 50%;
}

.apply-slider-handler {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 0.36rem;
  height: 0.36rem;
  transform: translate(-50%, -50%);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.apply-slider-handler:active {
  cursor: grabbing;
}

.apply-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.12rem;
  font-size: 0.14rem;
  color: var(--text-light);
}

/* Section titles */
.section {
  padding: 0.9rem 0;
}

.section-title {
  font-size: 0.38rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.56rem;
}
.section-description {
  font-size: 0.3rem;
  margin-top: -0.4rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.14rem;
}
.safe-img-wrap {
  position: relative;
  width: 14.28rem;
  height: 1.42rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin-top: 0.2rem;
}
.safe-img {
  position: absolute;
  z-index: -1;
  width: 100%;
  margin-bottom: 0.1rem;
}
.safe-img-wrap p {
  width: 8.3rem;
  padding-left: 1.03rem;
  font-weight: 400;
  font-size: 0.22rem;
  line-height: 30px;
  vertical-align: middle;
}
.advantage-card {
  position: relative;
  width: 3.4rem;
  height: 5.74rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.advantage-card img {
  position: absolute;
  width: 3.4rem;
  height: 5.74rem;
  box-sizing: border-box;
  z-index: -1;
}
.advantage-card:hover {
  transform: translateY(-0.04rem);
}

.advantage-icon {
  width: 0.6rem;
  height: 0.6rem;
  margin-bottom: 0.1rem;
  margin-left: 2.6rem;
}

.advantage-icon img,
.advantage-icon svg {
  width: 100%;
  height: 100%;
}

.advantage-title {
  width: 100%;
  font-size: 0.36rem;
  font-weight: 700;
  margin-top: 1.6rem;
  margin-bottom: 0.12rem;
  line-height: 1.3;
  text-align: center;
  padding: 0 0.3rem;
}

.advantage-text {
  width: 100%;
  font-size: 0.22rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  padding: 0 0.4rem;
}

/* Conditions */
.conditions {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f7fdf9);
}

.conditions-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../imgs/apply-bg.png") no-repeat top center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.conditions > .container {
  position: relative;
  z-index: 1;
}

.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
}

.condition-card {
  background: #edfbec;
  border-radius: var(--radius);
  padding: 0.24rem;
}

.condition-card h3 {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: 0.22rem;
  font-weight: 700;
  margin-bottom: 0.24rem;
}

.condition-card .condition-icon {
  width: 0.4rem;
  height: 0.4rem;
}

.condition-list {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.08rem 0.24rem;
  margin-bottom: 0.1rem;
}

.condition-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.08rem 0;
  font-size: 0.16rem;
}

.list1 {
  padding: 0.12rem 0.24rem;
  margin-bottom: 0.2rem;
}
.list1 .condition-row {
  padding: 0.18rem 0;
}
.condition-row:last-child {
  border-bottom: none;
}

.condition-label {
  /* color: var(--text-muted); */
  color: #70747d;
}

.condition-value {
  font-weight: 500;
  text-align: right;
}

.condition-value .orange {
  color: var(--accent-orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: 100%;
  padding: 0.16rem 0.24rem;
  font-size: 0.17rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  border-radius: 0.14rem;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-0.01rem);
}

.condition-note {
  font-size: 0.14rem;
  color: var(--text-light);
  margin-top: 0.1rem;
  line-height: 1.6;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
}

.step-card {
  position: relative;
  width: 4.8rem;
  height: 5.25rem;

  /* border-radius: var(--radius); */
  /* overflow: hidden; */
  /* background: var(--primary-light); */
  /* min-height: 4.6rem; */
}

.step-card:nth-child(2) {
  /* background: #d4f5e2; */
}

.step-card:nth-child(3) {
  /* background: #9ce6ba; */
}
.step-title {
  font-size: 0.2rem;
  font-weight: 500;
  color: #061712;
  padding-top: 1.2rem;
  padding-left: 0.4rem;
  padding-right: 0.3rem;
  padding-bottom: 0.1rem;
}
.step-description {
  font-size: 0.18rem;
  color: #35443e;
  padding-left: 0.4rem;
  padding-right: 0.2rem;
}
.step-card img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Payment */
.payment {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f0fdf6);
}

.payment-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../imgs/payment-bg.png") no-repeat top center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.payment > .container {
  position: relative;
  z-index: 1;
}

.payment-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.6rem;
  align-items: center;
}

.payment-title {
  font-size: 0.38rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.56rem;
}

.payment-subtitle {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: 0.26rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.payment-subtitle svg {
  width: 0.32rem;
  height: 0.32rem;
  color: var(--text);
}

.payment-subtitle .card {
  width: 0.4rem;
  height: 0.4rem;
}
.payment-lead {
  font-size: 0.18rem;
  color: var(--primary);
  margin-bottom: 0.32rem;
}

.payment-steps {
  position: relative;
  padding-left: 0.36rem;
}

.payment-steps::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.08rem;
  bottom: 0.08rem;
  width: 0.02rem;
  background: var(--primary);
}

.payment-step {
  position: relative;
  margin-bottom: 0.28rem;
}

.payment-step:last-child {
  margin-bottom: 0;
}

.payment-step::before {
  content: "";
  position: absolute;
  left: -0.34rem;
  top: 0.04rem;
  width: 0.14rem;
  height: 0.14rem;
  border-radius: 50%;
  background: var(--primary);
  border: 0.03rem solid var(--primary);
  box-shadow: 0 0 0 0.02rem var(--primary);
}

.payment-step h4 {
  font-size: 0.2rem;
  font-weight: 700;
  margin-bottom: 0.08rem;
}

.payment-step p {
  font-size: 0.18rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.payment-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.payment-image img {
  max-width: 4.2rem;
}

.payment-btn {
  position: sticky;
  float: right;
  bottom: 0.7rem;
  left: 70%;
  transform: translateX(-20%);
  width: 3.4rem;
  min-width: 2.6rem;
  padding: 0.16rem 0.32rem;
  margin-top: 0.3rem;
  white-space: nowrap;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 183, 108, 0.3);
  z-index: 99999;
}
.money {
  width: 0.2rem;
  height: 0.2rem;
}
/* Footer */
.footer {
  /* background: var(--footer-bg); */
  background: #111723;
  color: #ffffff;
  padding: 0.64rem 0 0.32rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.48rem;
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.18rem;
  font-weight: 600;
  margin-bottom: 0.24rem;
}

.footer-col h4::before {
  content: "";
  width: 0.04rem;
  height: 0.22rem;
  background: #ffffff;
  border-radius: 0.02rem;
}

.footer-item {
  display: flex;
  gap: 0.14rem;
  margin-bottom: 0.2rem;
}

.footer-item img {
  width: 0.36rem;
  height: 0.36rem;
  flex-shrink: 0;
  margin-top: 0.02rem;
}

.footer-item .label {
  font-size: 0.16rem;
  color: var(--footer-text);
  margin-bottom: 0.02rem;
}

.footer-item .value {
  font-size: 0.16rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
}

.footer-payment {
  margin-top: 0.08rem;
}

.footer-payment img {
  height: 0.36rem;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 0.32rem;
  border-top: 0.01rem solid rgba(255, 255, 255, 0.1);
  color: var(--footer-text);
  font-size: 0.14rem;
}

/* Mobile menu button (hidden by default) */
.menu-btn {
  display: none;
  background: none;
  padding: 0.06rem;
}

.menu-btn svg {
  width: 0.24rem;
  height: 0.24rem;
}

/* Responsive */
@media (max-width: 1450px) {
  .hero-title {
    font-size: 0.42rem;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 8rem; /* 限制最大宽度 */
    margin: 0 auto; /* 水平居中容器 */
    /* display: flex;
    align-items: center;
    justify-content: center; */
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:last-child {
    grid-column: span 2;
  }
}
@media (max-width: 1024px) {
  .hero-title {
    font-size: 0.42rem;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 85px !important;
  }

  body {
    font-size: 0.18rem;
  }

  .container {
    margin: 0 auto;
    padding: 0 0.2rem;
  }

  .header-inner {
    height: 0.64rem;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0.64rem;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.12rem 0.2rem 0.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s,
      opacity 0.25s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.14rem 0;
    border-bottom: 0.01rem solid #f3f4f6;
  }

  .nav-account {
    justify-content: center;
    margin: 0.12rem 0;
    padding: 0.12rem 0.16rem;
  }

  .lang-dropdown {
    margin-top: 0.12rem;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 0.48rem 0 0.64rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    text-align: center;
  }

  .hero-title {
    font-size: 0.32rem;
  }

  .hero-text {
    font-size: 0.17rem;
    margin: 0 auto;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-card img {
    max-width: 100%;
  }

  .apply-img-wrap {
    width: 100%;
  }

  .apply-card-content {
    width: 100%;
    padding-left: 0.1rem;
    padding-right: 0.8rem;
  }
  .apply-slider {
    width: 90%;
  }

  .apply-card-title {
    margin-bottom: 0.2rem;
  }

  .hero-card .apply-btn {
    width: 90%;
    font-size: 0.24rem;
    height: 0.54rem;
    line-height: 0.54rem;
    margin-top: 0.1rem;
  }

  .advantage-icon {
    margin-left: 0;
  }

  .section {
    padding: 0.6rem 0;
  }

  .section-title,
  .payment-title {
    font-size: 0.28rem;
    margin-bottom: 0.36rem;
  }

  .advantages-grid,
  .conditions-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card {
    width: 100%;
    max-width: 4.5rem;
    margin: 0 auto;
    aspect-ratio: 3.4 / 5.74;
    padding: 0;
  }

  .advantage-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .advantage-title {
    position: absolute;
    top: 28%;
    left: 0;
    right: 0;
    font-size: 0.22rem;
    margin: 0;
    padding: 0 0.3rem;
  }

  .advantage-text {
    position: absolute;
    top: 39%;
    left: 0;
    right: 0;
    font-size: 0.16rem;
    padding: 0 0.4rem;
  }

  .safe-img-wrap {
    width: 100%;
    height: auto;
    padding: 0.24rem;
  }

  .safe-img {
    position: relative;
    width: 100%;
    height: auto;
  }

  .safe-img-wrap p {
    width: 100%;
    padding-left: 0;
    font-size: 0.16rem;
    line-height: 1.5;
  }

  .step-card:last-child {
    grid-column: span 1;
  }

  .condition-card {
    padding: 0.24rem;
  }

  .condition-card h3 {
    font-size: 0.19rem;
  }

  .condition-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.04rem;
    padding: 0.14rem 0;
  }

  .condition-value {
    text-align: left;
  }

  .payment-inner {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .payment-subtitle {
    font-size: 0.22rem;
  }

  .payment-image {
    order: -1;
  }

  .payment-image img {
    max-width: 100%;
  }

  .payment-btn {
    position: static;
    transform: none;
    width: 1rem;
    margin-top: 0.24rem;
    margin-right: 0.24rem;
  }

  .footer-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .footer-item .value {
    font-size: 0.17rem;
  }
}

@media (max-width: 768px) {
  .apply-card-amount {
    font-size: 0.36rem;
  }

  .apply-card-title {
    font-size: 0.16rem;
  }

  .apply-slider {
    margin-top: 0.2rem;
  }
  .section-description {
    font-size: 0.14rem;
    margin-top: -0.4rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 75px !important;
  }

  .container {
    padding: 0 0.16rem;
  }

  .hero-title {
    font-size: 0.28rem;
  }

  .section-title,
  .payment-title {
    font-size: 0.24rem;
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .advantage-card {
    max-width: 2.5rem;
    height: auto;
    padding: 0.24rem 0.2rem;
  }

  .advantage-title {
    font-size: 0.16rem;
    top: 45%;
  }
  .advantage-text {
    top: 58%;
  }

  .safe-img-wrap {
    padding: 0;
  }
  .safe-img {
    position: absolute;
    width: 100%;
    height: auto;
  }
  .safe-img-wrap p {
    width: 80%;
    padding-left: 0.36rem;
    padding-bottom: 0.06rem;
    font-size: 0.1rem;
    line-height: 1.1;
  }
  .btn {
    font-size: 0.16rem;
  }
}
