:root {
  --primary: #00b76c;
  --primary-dark: #009959;
  --primary-light: #e9faf1;
  --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;
  background: none;
}

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

/* 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;
}

/* Page header */
.page-header {
  padding: 0.48rem 0 0.32rem;
  text-align: center;
}

.page-title {
  font-size: 0.38rem;
  font-weight: 700;
  color: var(--text);
}

/* Intro section */
.intro {
  padding-bottom: 0.64rem;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0.24rem;
}

.intro-card {
  /* background: var(--primary-light); */
  border-radius: var(--radius);
  padding: 0.1rem;
}

.intro-card h2 {
  font-size: 0.22rem;
  font-weight: 700;
  margin-bottom: 0.16rem;
  line-height: 1.3;
}

.intro-card p {
  font-size: 0.24rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.intro-card .intro-image {
  margin-bottom: 0.2rem;
  /* background-color: #f2fef5; */
}

.intro-card .intro-image img {
  /* max-height: 2.4rem; */
  margin: 0 auto;
}
.intro2 {
  background-color: #f5fff7;
  padding: 0.3rem;
  border-radius: 0.27rem;
}
.intro2 p {
  font-size: 0.22rem;
}
.intro-card.with-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Policies section */
.policies {
  background: linear-gradient(to bottom, #ffffff, #f7fdf9);
  padding: 0.64rem 0 0.9rem;
}

.policies-header {
  text-align: center;
  margin-bottom: 0.4rem;
}

.policies-header h2 {
  font-size: 0.5rem;
  font-weight: 700;
  margin-bottom: 0.16rem;
}

.policies-header p {
  font-size: 0.24rem;
  color: var(--text-muted);
  line-height: 1.4;
  /* max-width: 9rem; */
  /* margin: 0 auto; */
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.policy-item {
  background: #f8f8fb;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 0.01rem solid #c7c6c5;
}

.policy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.18rem 0.24rem;
  cursor: pointer;
  transition: background 0.2s;
}

.policy-row:hover {
  background: #f3f4f6;
}

.policy-name {
  font-size: 0.16rem;
  font-weight: 500;
  color: var(--text);
}

.policy-toggle {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  flex-shrink: 0;
}

.policy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.08rem 0.18rem;
  font-size: 0.14rem;
  font-weight: 600;
  color: #ffffff;
  /* background: var(--primary); */
  background: #015a4f;
  border-radius: 0.08rem;
  transition: background 0.2s;
}

.policy-btn:hover {
  background: var(--primary-dark);
}

.policy-arrow {
  width: 0.24rem;
  height: 0.24rem;
  color: var(--text-light);
  transition: transform 0.2s;
}

.policy-item.open .policy-arrow {
  transform: rotate(180deg);
}

.policy-children {
  display: none;
  padding: 0 0.24rem 0.16rem;
}

.policy-item.open .policy-children {
  display: block;
}

.policy-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.14rem;
  margin: 0.12rem 0;
  background-color: #ffffff;
  border-radius: 0.12rem;
  /* border-top: 0.01rem solid #e5e7eb; */
}

.policy-child-name {
  font-size: 0.15rem;
  color: var(--text-muted);
  padding-left: 0.2rem;
}
.policy-item.has-children.open .policy-row {
  box-shadow: 0rem 0.02rem 0.06rem 0rem #85858540;
  border-radius: 0.12rem;
}

/* Footer */
.footer {
  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.24rem;
  height: 0.24rem;
  flex-shrink: 0;
  margin-top: 0.02rem;
}

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

.footer-item .value {
  font-size: 0.15rem;
  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: 1024px) {
  .intro-inner {
    grid-template-columns: 1fr;
  }
}

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

  body {
    font-size: 0.18rem;
  }

  .container {
    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;
  }

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

  .intro-card {
    padding: 0.24rem;
  }

  .intro-card h2 {
    font-size: 0.2rem;
  }

  .intro-card .intro-image img {
    width: 100% !important;
    height: auto !important;
  }

  .intro2 {
    background-color: #f5fff7;
    padding: 0.3rem;
    border-radius: 0.26rem;
  }
  .intro2 p {
    font-size: 0.18rem;
    padding: 0.2rem;
  }

  .policies-header h2 {
    font-size: 0.26rem;
  }

  .policies-header p {
    font-size: 0.18rem;
  }

  .policy-row {
    padding: 0.16rem 0.2rem;
  }

  .policy-name {
    font-size: 0.18rem;
  }

  .policy-child-name {
    font-size: 0.17rem;
  }

  .policy-btn {
    padding: 0.08rem 0.16rem;
    font-size: 0.15rem;
  }

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

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

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

  .container {
    padding: 0 0.16rem;
  }

  .page-title {
    font-size: 0.24rem;
  }

  .policies-header h2 {
    font-size: 0.22rem;
  }

  .policy-row {
    flex-wrap: wrap;
  }

  .policy-toggle {
    width: 100%;
    justify-content: space-between;
  }
}
