:root {
  --blue: #3ea2d4;
  --blue-deep: #009cdb;
  --ink: #555;
  --muted: #8b8b8b;
  --line: #dedede;
  --footer: #1d3849;
  --page-width: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body.auth-page {
  background: #f5f5f5;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 104px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 0.35s ease;
}

.site-header.header-hidden {
  transform: translateY(-104px);
}

.header-inner {
  display: flex;
  width: min(var(--page-width), calc(100% - 36px));
  height: 104px;
  margin: 0 auto;
  align-items: center;
}

.brand {
  display: flex;
  flex: 0 0 430px;
  height: 104px;
  align-items: center;
}

.brand-emblem {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.58) 0 8%, transparent 9%),
    linear-gradient(145deg, #f3b737 0 42%, #79aa3c 43% 69%, #2575a7 70%);
  box-shadow: 0 3px 10px rgba(34, 105, 139, 0.18);
  font-family: STKaiti, KaiTi, serif;
  font-size: 29px;
  font-weight: 700;
  flex: 0 0 auto;
}

.brand-name {
  display: flex;
  margin-left: 13px;
  color: #222;
  font-family: STKaiti, KaiTi, "Microsoft YaHei", sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.05;
  white-space: nowrap;
  flex-direction: column;
}

.brand-name small {
  margin-top: 7px;
  color: #555;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-tagline {
  height: 45px;
  margin-left: 28px;
  padding-left: 16px;
  border-left: 1px solid #ddd;
  color: #777;
  font-size: 12px;
  line-height: 45px;
}

.nav {
  display: flex;
  height: 104px;
  margin-left: auto;
}

.nav a {
  display: flex;
  height: 104px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: #5c5c5c;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--blue);
}

.nav .fee {
  color: #f00;
}

.nav a:hover .fee,
.nav a.active .fee {
  color: #f00;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.page-offset {
  padding-top: 104px;
}

.container {
  width: min(var(--page-width), calc(100% - 36px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  width: min(1903px, 100%);
  margin: 104px auto 0;
  overflow: hidden;
  background: #e9eef3;
}

.home-hero img {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
}

.section {
  padding: 82px 0 96px;
}

.section-title {
  margin-bottom: 62px;
  text-align: center;
}

.section-title h1,
.section-title h2,
.section-title h3 {
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: 30px;
  font-weight: 700;
}

.section-title p {
  margin: 0;
  color: #999;
  font-size: 12px;
}

.news-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  min-width: 0;
  padding: 0 39px;
  border-right: 1px dashed #d5d5d5;
}

.news-card:first-child {
  padding-left: 0;
}

.news-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.news-card > img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.news-card ul {
  padding-top: 30px;
}

.news-card li {
  display: flex;
  min-width: 0;
  height: 20px;
  margin-bottom: 16px;
  align-items: center;
}

.news-card li::before,
.news-list li::before {
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  flex: 0 0 auto;
}

.news-card li a {
  overflow: hidden;
  color: #666;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card li a:hover,
.news-list li a:hover {
  color: var(--blue-deep);
}

.price {
  margin-left: auto;
  padding-left: 8px;
  color: #f03b3b;
  white-space: nowrap;
}

.company-section {
  min-height: 580px;
  padding: 82px 0;
  background: #f4f8fb url("../images/bg2.jpg") center / cover no-repeat;
}

.company-panel {
  display: grid;
  grid-template-columns: 314px 1fr;
  overflow: hidden;
  min-height: 365px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(12, 57, 84, 0.08);
}

.company-panel > img {
  width: 314px;
  height: 365px;
  object-fit: cover;
}

.company-copy {
  padding: 65px 65px 45px;
}

.company-copy h3 {
  margin: 0 0 28px;
  color: #444;
  font-size: 24px;
}

.company-copy p {
  margin: 0;
  color: #666;
  line-height: 2.15;
}

.more-link {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 24px;
  border: 1px solid var(--blue);
  color: var(--blue);
  transition: color 0.2s, background 0.2s;
}

.more-link:hover {
  color: #fff;
  background: var(--blue);
}

.industry-section {
  padding: 84px 0 98px;
  background: #fff;
}

.industry-viewport {
  position: relative;
}

.industry-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 34px;
}

.industry-grid.active {
  display: grid;
}

.industry-card {
  position: relative;
  overflow: hidden;
  height: 120px;
  background: #ddd;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.industry-card:hover img {
  transform: scale(1.04);
}

.industry-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 12px 14px;
  align-items: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.industry-card figcaption a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 40px;
  height: 54px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 28px;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-control:hover {
  background: var(--blue);
}

.carousel-control.prev {
  left: -58px;
}

.carousel-control.next {
  right: -58px;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #e9edf0;
}

.sub-hero > img:first-child {
  width: 100%;
  min-height: 140px;
  object-fit: cover;
}

.sub-hero .banner-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(603px, 44vw);
  transform: translate(-50%, -50%);
}

.inner-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
  padding: 30px 0 68px;
}

.side-panel {
  padding-top: 18px;
  border-right: 1px solid #aaa;
}

.side-panel h1,
.side-panel h2 {
  margin: 0 0 34px;
  color: #111;
  font-size: 24px;
  text-align: center;
}

.side-link {
  display: block;
  width: calc(100% + 12px);
  padding: 8px 14px;
  color: #fff;
  background: var(--blue);
  text-align: center;
}

.inner-content {
  padding: 56px 0 0 60px;
}

.inner-title {
  margin-bottom: 25px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.inner-title h1,
.inner-title h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 22px;
}

.inner-title span {
  color: #999;
  font-size: 14px;
}

.about-copy {
  color: #666;
  line-height: 2;
}

.news-list li {
  display: flex;
  min-width: 0;
  margin-bottom: 19px;
  align-items: center;
}

.news-list li a {
  overflow: hidden;
  color: #666;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination {
  display: flex;
  padding-top: 35px;
  justify-content: center;
  gap: 10px;
}

.pagination a {
  display: inline-flex;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  color: #666;
  background: #ddd;
}

.pagination a:hover,
.pagination a.active {
  color: #fff;
  background: #333;
}

.contact-lines p {
  margin: 0 0 24px;
  color: #666;
  line-height: 1.8;
}

.contact-layout {
  min-height: 660px;
}

.site-footer {
  padding: 32px 0;
  color: #fff;
  background: var(--footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr auto;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  margin-bottom: 15px;
}

.footer-links a {
  padding: 0 11px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.footer-links a:first-child {
  padding-left: 0;
}

.footer-meta {
  font-size: 12px;
  font-style: normal;
  line-height: 2.1;
}

.footer-address {
  font-size: 12px;
  line-height: 1.8;
}

.to-top {
  color: #6a92ab;
  font-size: 14px;
  white-space: nowrap;
}

.auth-main {
  min-height: calc(100vh - 104px - 166px);
  padding: 80px 0 96px;
}

.auth-stage {
  position: relative;
  overflow: hidden;
  width: min(1360px, calc(100% - 36px));
  min-height: 620px;
  margin: 0 auto;
  background: #d8dde2 url("../images/b3_1.jpg") center / cover no-repeat;
}

.auth-card {
  position: absolute;
  top: 90px;
  left: 59%;
  width: 360px;
  padding: 20px 40px 34px;
  background: #fff;
}

.auth-card.register-card {
  min-height: 400px;
}

.auth-title {
  display: flex;
  height: 30px;
  margin-bottom: 13px;
  align-items: center;
  justify-content: space-between;
}

.auth-title h1 {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 400;
}

.auth-title a {
  color: #111;
  font-size: 13px;
}

.auth-title a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.form-field {
  position: relative;
  height: 38px;
  margin: 14px 0 8px;
}

.form-field input {
  width: 100%;
  height: 33px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: 0;
  color: #333;
  background: #fff;
}

.form-field input:focus {
  border-color: var(--blue);
}

.form-field small {
  position: absolute;
  z-index: 2;
  top: -19px;
  right: 1px;
  overflow: hidden;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 2px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.form-field:focus-within small {
  opacity: 1;
}

.form-field.error input {
  border-color: #e84545;
}

.form-field.error small {
  background: #e84545;
  opacity: 1;
}

.form-links {
  display: flex;
  min-height: 27px;
  justify-content: flex-end;
  align-items: center;
  color: #555;
  font-size: 12px;
}

.form-links a {
  text-decoration: underline;
}

.auth-button {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(#4db3e1, #278ec9);
  font-size: 16px;
  cursor: pointer;
}

.auth-button:hover {
  background: linear-gradient(#34a9df, #167db9);
}

.auth-notice {
  display: none;
  margin: 14px 0 0;
  color: #2581b0;
  font-size: 12px;
  line-height: 1.7;
}

.auth-notice.visible {
  display: block;
}

.agreement {
  margin: 7px 0 9px;
  color: #666;
  font-size: 12px;
}

.agreement a {
  color: #333;
  text-decoration: underline;
}

.pay-breadcrumb {
  padding: 15px 0 9px;
  color: #555;
  font-size: 13px;
}

.pay-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 730px;
  border: 1px solid #ddd;
}

.pay-sidebar {
  padding: 28px 20px;
  border-right: 1px solid #ddd;
  background: #fafafa;
}

.pay-sidebar h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7e7e7;
  color: #1875a3;
  font-size: 16px;
}

.pay-sidebar a {
  display: block;
  padding: 10px 0;
  color: #444;
}

.pay-sidebar .help-title {
  margin-top: 18px;
}

.pay-content {
  padding: 55px 70px 40px;
}

.pay-row {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
}

.pay-row-title {
  width: 100px;
  color: #555;
}

.amount-options,
.pay-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-options label {
  white-space: nowrap;
}

.amount-options input[type="number"] {
  width: 86px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid #bbb;
}

.pay-tabs button {
  min-width: 100px;
  height: 38px;
  border: 1px solid #c9c9c9;
  color: #555;
  background: #f4f4f4;
  cursor: pointer;
}

.pay-tabs button.active {
  border-color: #9fac63;
  box-shadow: inset 0 0 0 2px #d9e6a8;
  background: #fff;
}

.pay-method-panel {
  display: none;
}

.pay-method-panel.active {
  display: block;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 26px 14px;
}

.bank-option {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bank-option img {
  width: 154px;
  height: 33px;
  border: 1px solid #ddd;
  object-fit: contain;
}

.pay-provider {
  display: flex;
  min-height: 220px;
  align-items: flex-start;
  gap: 12px;
}

.pay-provider img {
  width: 154px;
  height: 33px;
  border: 1px solid #ddd;
  object-fit: contain;
}

.pay-submit {
  margin-top: 35px;
  padding-left: 100px;
}

.pay-submit button {
  width: 86px;
  height: 37px;
  border: 0;
  color: #fff;
  background: linear-gradient(#5b8cbe, #245685);
  font-size: 16px;
  cursor: pointer;
}

.pay-message {
  margin: 12px 0 0 100px;
  color: #2581b0;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 350px;
  }

  .brand-tagline {
    margin-left: 12px;
    padding-left: 10px;
  }

  .nav a {
    padding: 0 15px;
  }

  .carousel-control.prev {
    left: 0;
  }

  .carousel-control.next {
    right: 0;
  }

  .bank-grid {
    grid-template-columns: repeat(3, minmax(145px, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    flex-basis: auto;
  }

  .brand-tagline {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 104px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .nav.open {
    display: block;
  }

  .nav a {
    height: 48px;
    justify-content: flex-start;
    padding: 0 24px;
  }

  .news-columns {
    gap: 36px;
  }

  .news-card {
    padding: 0 18px;
  }

  .company-panel {
    grid-template-columns: 270px 1fr;
  }

  .company-panel > img {
    width: 270px;
  }

  .company-copy {
    padding: 48px 38px;
  }

  .pay-content {
    padding: 45px 30px;
  }

  .bank-grid {
    grid-template-columns: repeat(2, minmax(145px, 1fr));
  }
}

@media (max-width: 767px) {
  .site-header,
  .header-inner {
    height: 82px;
  }

  .site-header.header-hidden {
    transform: translateY(-82px);
  }

  .brand {
    height: 82px;
  }

  .brand-emblem {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .brand-name {
    font-size: 23px;
  }

  .nav {
    top: 82px;
  }

  .page-offset {
    padding-top: 82px;
  }

  .home-hero {
    margin-top: 82px;
  }

  .home-hero img {
    min-height: 220px;
  }

  .section,
  .industry-section {
    padding: 52px 0 62px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h1,
  .section-title h2,
  .section-title h3 {
    font-size: 25px;
  }

  .news-columns {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .news-card,
  .news-card:first-child,
  .news-card:last-child {
    width: min(430px, 100%);
    margin: 0 auto;
    padding: 0;
    border-right: 0;
  }

  .company-section {
    padding: 52px 0;
  }

  .company-panel {
    grid-template-columns: 1fr;
  }

  .company-panel > img {
    width: 100%;
    height: 260px;
  }

  .company-copy {
    padding: 34px 26px 40px;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    top: auto;
    bottom: -44px;
    width: 48px;
    height: 34px;
    font-size: 20px;
    transform: none;
  }

  .carousel-control.prev {
    left: calc(50% - 52px);
  }

  .carousel-control.next {
    right: calc(50% - 52px);
  }

  .sub-hero > img:first-child {
    height: 150px;
  }

  .sub-hero .banner-copy {
    width: 70vw;
  }

  .inner-layout {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .side-panel {
    padding: 0;
    border: 0;
  }

  .side-panel h1,
  .side-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
  }

  .side-link {
    width: 100%;
  }

  .inner-content {
    padding: 40px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-address {
    display: none;
  }

  .auth-main {
    min-height: auto;
    padding: 30px 0 45px;
  }

  .auth-stage {
    display: flex;
    min-height: 540px;
    padding: 40px 18px;
    align-items: center;
    justify-content: center;
  }

  .auth-card {
    position: static;
    width: min(360px, 100%);
  }

  .pay-shell {
    grid-template-columns: 1fr;
  }

  .pay-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid #ddd;
    gap: 0 16px;
  }

  .pay-sidebar .help-title {
    margin-top: 0;
  }

  .pay-content {
    padding: 38px 20px;
  }

  .pay-row {
    display: block;
  }

  .pay-row-title {
    width: auto;
    margin-bottom: 12px;
  }

  .bank-grid {
    grid-template-columns: 1fr;
  }

  .pay-submit {
    padding-left: 0;
  }

  .pay-message {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-emblem {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .brand-name {
    margin-left: 9px;
    font-size: 20px;
  }

  .brand-name small {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .to-top {
    display: none;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 7px 0;
  }

  .footer-meta {
    font-size: 11px;
  }

  .auth-card {
    padding: 20px 24px 30px;
  }
}
