@charset "utf-8";

:root {
  --brand-orange: #ff7f2b;
  --brand-blue: #0055d4;
  --brand-blue-light: #369ae8;
  --brand-sky: #e8f4fc;
  --text-primary: #1a1a2e;
  --text-secondary: #5c6370;
  --shadow-sm: 0 2px 8px rgba(0, 85, 212, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 85, 212, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 85, 212, 0.15);
  --radius-lg: 20px;
  --radius-xl: 32px;
  --mobile-bar-h: 56px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: #f8fbff;
  max-width: none;
  overflow-x: hidden;
}

/* ===== Header (PC + mobile) ===== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 85, 212, 0.08);
  box-shadow: var(--shadow-sm);
}

header .container {
  min-height: 70px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 12px;
}

header .tpleft .logo .txt {
  display: block !important;
  font-size: 13px;
  color: var(--text-secondary);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--brand-orange);
  line-height: 1.35;
  font-weight: 500;
}

header .tel {
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

header .tel .org {
  color: #fe6100;
  font-weight: 600;
}

header .seach_1 {
  border-color: var(--brand-blue);
  flex-shrink: 1;
  min-width: 0;
  max-width: 420px;
}

header .seach_1:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 85, 212, 0.15);
}

header .seach_1 .sumbit {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
}

.banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 460px;
}

.banner .content {
  max-width: 600px;
  margin-left: 0;
  animation: fadeUp 0.7s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner .content .top-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.banner .content .top-text span {
  background: linear-gradient(135deg, var(--brand-orange), #ff9f4d);
  box-shadow: 0 4px 14px rgba(255, 127, 43, 0.3);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 24px;
  margin-right: 8px;
}

.banner .content .top-title {
  font-size: 42px;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--brand-orange), #ff5500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner .content .top-info {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 10px;
}

.banner .content .top-register-btn {
  background: linear-gradient(135deg, var(--brand-blue), #0077ff);
  box-shadow: 0 8px 24px rgba(0, 85, 212, 0.32);
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: auto;
  min-width: 200px;
  display: inline-block;
}

.banner .content .top-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 85, 212, 0.4);
}

.banner .content .top-register-btn a {
  font-weight: 600;
  padding: 0 8px;
}

.banner .content .desc {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  border-left: 4px solid var(--brand-orange);
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 14px;
}


/* ===== Hero v2: modern gradient (replaces top-banner.png) ===== */
.banner {
  background: none !important;
  background-color: #061528 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15.4l13-7.5 13 7.5v18.1l-13 7.5L0 33.5V15.4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 75% 70% at 88% 42%, rgba(54, 154, 232, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 12% 88%, rgba(255, 127, 43, 0.22) 0%, transparent 52%),
    linear-gradient(118deg, #030b18 0%, #0c2347 38%, #1558a8 72%, #2a7fd4 100%) !important;
  background-size: 28px 49px, auto, auto, auto !important;
}

.banner::before {
  background: linear-gradient(
    95deg,
    rgba(3, 11, 24, 0.94) 0%,
    rgba(3, 11, 24, 0.82) 38%,
    rgba(3, 11, 24, 0.35) 62%,
    transparent 85%
  ) !important;
}

.banner-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.banner-deco-art {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 42vw);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.28));
  animation: heroArtIn 1s ease-out both;
}

@keyframes heroArtIn {
  from { opacity: 0; transform: translateY(-46%) scale(0.96); }
  to { opacity: 0.92; transform: translateY(-50%) scale(1); }
}

/* legacy globe hooks removed */
.banner-deco-stats {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(420px, 40vw);
  height: min(460px, 42vw);
}

.banner-deco-stats li {
  position: absolute;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
  animation: heroFloat 6s ease-in-out infinite;
}

.banner-deco-stats li:nth-child(1) { top: 8%; left: 5%; animation-delay: 0s; }
.banner-deco-stats li:nth-child(2) { bottom: 18%; left: 0; animation-delay: 1.2s; }
.banner-deco-stats li:nth-child(3) { top: 42%; right: 0; animation-delay: 2.4s; }

.banner-deco-stats b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #ffb347;
  line-height: 1.2;
}

.banner-deco-stats span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2px;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.banner .content .top-text {
  color: rgba(255, 255, 255, 0.82);
}

.banner .content .top-info {
  color: rgba(255, 255, 255, 0.9);
}

.banner .content .desc {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--brand-orange);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
  .banner-deco-art {
    width: 300px;
    right: -6%;
    opacity: 0.5;
  }

  .banner-deco-stats {
    display: none;
  }
}

@media (max-width: 767px) {
  .banner {
    background-image:
      radial-gradient(ellipse 90% 60% at 50% 0%, rgba(54, 154, 232, 0.35) 0%, transparent 70%),
      linear-gradient(180deg, #061528 0%, #0f3468 100%) !important;
    background-size: auto !important;
  }

  .banner::before {
    background: linear-gradient(
      180deg,
      rgba(3, 11, 24, 0.88) 0%,
      rgba(3, 11, 24, 0.75) 100%
    ) !important;
  }

  .banner-deco {
    display: none;
  }
}

/* ===== Sections ===== */
.dance {
  padding: 72px 0;
}

.index_bt .title .txt {
  font-size: 24px;
  font-weight: 700;
}

.part_1 {
  background: linear-gradient(160deg, #2b8cff 0%, var(--brand-blue-light) 55%, #5eb8ff 100%);
}

.part_2 {
  background: linear-gradient(180deg, #f0f9ff 0%, var(--brand-sky) 100%);
}

.part_3 {
  background: linear-gradient(160deg, #1a6fd4 0%, var(--brand-blue-light) 100%);
}

.retailer_list ul li {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.retailer_list ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.retailer_list ul li .infor .title {
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 700;
}

.retailer_list ul li .infor .desc {
  color: var(--text-secondary);
  margin-top: 4px;
}

.part_2-logo {
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--radius-lg) !important;
}

.Service_list ul li {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.Service_list ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.Service_list ul li .content .title {
  color: var(--brand-blue);
  font-size: 17px;
  font-weight: 700;
}

.Service_list ul li .content .desc {
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-card {
  box-shadow: var(--shadow-md);
}

.register-btn a {
  background: #fff !important;
  font-weight: 700;
  border-radius: 50px !important;
  letter-spacing: 1px;
}

.part_4 .box {
  box-shadow: var(--shadow-lg);
}

.sea_list li img {
  border-radius: 12px;
  max-height: 340px;
  width: 100%;
  object-fit: contain;
}

.passage {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cop_list::after {
  content: "与全球优质伙伴共建跨境贸易生态";
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  margin-top: -36px;
  margin-bottom: 16px;
}

.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
}

.footer a:hover {
  color: var(--brand-orange);
}

/* PC: floating sidebar */
.online .list {
  background: linear-gradient(180deg, #1a1a2e, #2d2d44);
  border-radius: 14px;
}

.online .list li a:hover {
  color: var(--brand-orange);
}

/* Mobile bottom bar (hidden on desktop) */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  height: var(--mobile-bar-h);
  background: #fff;
  border-top: 1px solid rgba(0, 85, 212, 0.12);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0 12px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
}

.mobile-bar a.primary {
  background: linear-gradient(135deg, var(--brand-blue), #0077ff);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 85, 212, 0.3);
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  header .seach_1 {
    display: none !important;
  }

  header .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  header .tel {
    font-size: 13px;
  }

  .banner .content .top-title {
    font-size: 34px;
  }

  .Service_list ul {
    grid-gap: 20px 24px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0));
  }

  header .container {
    flex-wrap: nowrap;
    padding: 8px 12px;
    min-height: 56px;
  }

  header .tpleft {
    flex: 1;
    min-width: 0;
  }

  header .tpleft .logo .txt {
    display: none !important;
  }
  /* lang switcher kept visible on mobile; see join-lang-switch-fix */

  header .tel {
    font-size: 12px;
    text-align: right;
    white-space: normal;
    line-height: 1.3;
  }

  header .tel .org {
    font-size: 15px;
    display: block;
  }

  .banner {
    min-height: auto;
    padding: 28px 0 36px;
    background-position: center;
  }

  .banner::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 100%
    );
  }

  .banner .container {
    min-height: auto;
  }

  .banner .content .top-text span {
    font-size: 20px;
    padding: 4px 12px;
  }

  .banner .content .top-title {
    font-size: 28px;
  }

  .banner .content .top-info {
    font-size: 16px;
  }

  .banner .content .top-register-btn {
    width: 100%;
    max-width: 280px;
    height: 50px;
    margin: 20px 0;
  }

  .banner .content .top-register-btn a {
    line-height: 50px !important;
    font-size: 17px !important;
  }

  .banner .content .desc {
    font-size: 13px;
    padding: 14px;
    letter-spacing: 0;
  }

  .dance {
    padding: 48px 0;
  }

  .index_bt .title .txt {
    font-size: 18px;
    line-height: 1.4;
  }

  .index_bt .title .line {
    width: 28px !important;
  }

  .retailer_list ul li .infor .title {
    font-size: 17px;
  }

  .Service_list ul li {
    flex-direction: row;
    padding: 14px;
  }

  .Service_list ul li .icon {
    width: 72px !important;
    flex-shrink: 0;
  }

  .tuiqiqi-icon img {
    max-width: 56px !important;
  }

  /* Steps: avoid horizontal overflow */
  .trade-steps {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 0 8px !important;
    width: 100%;
  }

  .step-card {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
    min-height: 120px;
    border-radius: 16px !important;
    padding: 20px 16px 16px 16px !important;
    margin: 0 auto;
  }

  .step-number {
    position: static !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    clip-path: none !important;
    margin-bottom: 10px;
    font-size: 20px !important;
  }

  .step-text {
    font-size: 16px !important;
  }

  .register-btn a {
    width: 90% !important;
    max-width: 300px;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 17px !important;
  }

  .part_4 .box {
    padding: 28px 16px 32px !important;
  }

  .sea_list .swiper {
    width: 100% !important;
  }

  .sea_list .prev {
    left: 0 !important;
  }

  .sea_list .next {
    right: 0 !important;
  }

  .passage {
    font-size: 15px;
    margin-top: 32px !important;
    padding: 0 12px;
  }

  .cop_list::after {
    margin-top: -20px;
    font-size: 13px;
    padding: 0 16px;
  }

  .footer {
    padding-bottom: 12px;
    font-size: 11px;
  }

  /* Hide PC sidebar, show mobile bar */
  .online {
    display: none !important;
  }

  .mobile-bar {
    display: flex;
  }
}

@media (max-width: 380px) {
  header .logo img {
    height: 30px !important;
  }

  .banner .content .top-title {
    font-size: 24px;
  }

  .retailer_list ul {
    grid-gap: 12px !important;
  }
}

/* ===== Desktop polish ===== */
@media (min-width: 768px) {
  .mobile-bar {
    display: none !important;
  }

  .online {
    display: block !important;
  }

  header .container {
    flex-wrap: nowrap;
  }

  header .seach_1 {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .banner .content .top-title {
    font-size: 46px;
  }

  .retailer_list ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Floating sidebar popups (WeChat / Phone) ===== */
.online {
  z-index: 600 !important;
}

.online .list {
  overflow: visible !important;
}

.online .list li {
  overflow: visible !important;
}

.online .list li:after {
  width: 90px !important;
  z-index: 1;
}

.online .list li.no2:hover,
.online .list li.no4:hover {
  z-index: 20 !important;
}

.online .list li .weix,
.online .list li .tel {
  display: none;
  visibility: hidden;
  opacity: 0;
  z-index: 30 !important;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  transition: opacity 0.18s ease;
}

.online .list li.no2 .weix {
  right: 88px !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 160px !important;
  padding: 16px !important;
}

.online .list li.no4 .tel {
  right: 88px !important;
  width: 170px !important;
  white-space: nowrap;
}

.online .list li.no2:hover .weix,
.online .list li.no4:hover .tel,
.online .list li.no2.is-open .weix,
.online .list li.no4.is-open .tel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ===== Header logo layout fix ===== */
header .container.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

header .tpleft {
  float: none !important;
  flex: 0 0 auto;
  min-width: 0;
}

header .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 0;
}

header .logo a {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

header .logo img {
  display: block;
  height: 45px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

header .langer_box,
header .tel,
header .seach_1 {
  flex-shrink: 0;
}

.banner {
  position: relative;
  overflow: hidden;
}

.part_2-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 20px auto 30px !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  header .container.flex-between {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  header .tpleft {
    flex: 0 1 auto;
    max-width: 50%;
  }

  header .tel {
    flex: 1 1 auto;
    text-align: right;
    padding-left: 8px;
  }

  header .logo img {
    height: 34px !important;
    max-width: 132px;
  }
}

/* tqq-join-lang-grid */
header .langer_box{position:relative;}
header .langer_box .box{left:auto!important;right:0!important;}
header .langer_box .sumenu{
  display:none!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:2px 10px;
  text-align:left;
  right:0!important;
  left:auto!important;
  min-width:480px;
  max-width:min(520px,92vw);
  padding:10px 8px 12px!important;
}
header .langer_box .sumenu dd{
  margin:0!important;
  white-space:nowrap;
}
header .langer_box.is-open .box .sumenu{display:grid!important;}
header .langer_box.is-open .box{box-shadow:0 3px 6px rgba(0,0,0,.16);background:#fff;}
@media (max-width:900px){
  header .langer_box .sumenu{grid-template-columns:repeat(2,minmax(0,1fr));min-width:320px;}
}