:root {
  --bg: #030c18;
  --bg2: #071425;
  --panel: #0a192b;
  --panel2: #0d2036;
  --line: rgba(112, 151, 197, .2);
  --text: #f6f8fb;
  --muted: #a7b2c2;
  --gold: #f5ad28;
  --gold2: #ffbf3e;
  --max: 1055px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55
}

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

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

/* 修改下拉选项的背景色 */
select option {background: rgba(4, 13, 24, 0.778);
  color: var(--text);
}
.container {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto
}

.site-header {
  height: 68px;
  background: #020a14;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50
}

.header-inner {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand img {
  width: 168px;
  height: auto
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%
}

.main-nav a {
  font-size: 14px;
  color: #dce2eb;
  padding: 25px 0 19px;
  position: relative;
  white-space: nowrap
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold2)
}


.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold2);
  /* 可根据主题色调整 */
  transition: width 0.3s ease, left 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(8, 18, 33, .9);
  border-radius: 8px;
  width: 42px;
  height: 36px;
  padding: 8px;
  cursor: pointer
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 4px 0;
  border-radius: 2px
}

.hero {
  /* height: 420px; */
  height: calc(100vh - 68px - 95px);
  position: relative;
  overflow: hidden;
  background: #071327
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .95
}

.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* 默认隐藏 */
  transition: opacity 0.5s ease-in-out;
}

.hero-bg img.active {
  opacity: 1;
  /* 当前显示的图片 */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 10, 19, .98) 0%, rgba(3, 13, 24, .91) 34%, rgba(3, 13, 24, .34) 60%, rgba(3, 13, 24, .1) 100%)
}

.hero-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center
}

.hero-copy {
  width: 600px;
  padding-left: 35px;
  position: relative;
  z-index: 2
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 700
}

h1 {
  font-size: 39px;
  line-height: 1.17;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: .4px
}

h1 strong {
  font-size: 58px;
  color: var(--gold2);
  font-weight: 800
}

.hero-desc {
  max-width: 540px;
  color: #c0cad7;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 23px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(245, 173, 40, .7)
}

.btn-primary {
  color: #172032;
  background: linear-gradient(135deg, #ffbe3b, #ee9d17);
  box-shadow: 0 8px 20px rgba(255, 176, 37, .18)
}

.btn-ghost {
  color: #f5f7fb;
  background: rgba(5, 17, 30, .58)
}

.btn .icon {
  margin-right: 5px;
  font-size: 18px;
}

.btn-ghost .icon {
  color: rgba(245, 173, 40, .7)
}

/* 悬浮效果增强 */
.btn {
  transition: all 0.25s ease;
}

/* 主按钮悬浮 */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 176, 37, 0.35);
}

/* 幽灵按钮悬浮 */
.btn-ghost:hover {
  /* background: rgba(10, 25, 47, 0.85); 
  color: #ffffff; */
  color: #172032;
  background: linear-gradient(135deg, #ffbe3b, #ee9d17);
  box-shadow: 0 8px 20px rgba(255, 176, 37, .18)
}

.btn-ghost:hover .icon {
  /* color: var(--gold2); */
  color: #172032;
  /* 图标变为金色 */
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #f5f7fb;
  font-size: 48px;
  font-weight: 200;
  opacity: .85;
  cursor: pointer;
  z-index: 3
}

.hero-arrow.left {
  left: 0px
}

.hero-arrow.right {
  right: 0px
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%)
}

.hero-dots span {
  width: 10px;
  height: 6px;
  border-radius: 8px;
  background: #687485;
  opacity: .65
}

.hero-dots .current {
  width: 14px;
  background: var(--gold2);
  opacity: 1
}

.trustbar {
  background: #081523;
  /* border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line) */
}

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

.trust-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  position: relative;
  /* border-right: 2px solid  rgba(112, 151, 197, .1); */
}

.trust-item:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 70%;
  right: 0px;
  /* background: rgba(112, 151, 197, .1); */
  background: linear-gradient(to bottom, transparent, rgba(149, 198, 255, 0.2), transparent);


}

.trust-item:last-child:after {
  display: none;
}

.trust-icon {
  font-size: 34px;
  color: var(--gold2);
  width: 42px;
  text-align: center
}

.trust-item h3 {
  font-size: 16px;
  margin: 0 0 3px
}

.trust-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 0
}

.section {
  padding: 44px 0;
  background: linear-gradient(180deg, #061223, #071525)
}

.features {
  padding: 43px 40px 23px;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  text-align: center
}

.section-title .line {
  display: inline-block;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  position: relative
}

.section-title .line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent)
}

.section-title .line:first-child:after,
.section-title .line:last-child:before {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold)
}

.section-title .line:first-child:after {
  right: 0
}

.section-title .line:last-child:before {
  left: 0
}

.section-title h2 {
  font-size: 31px;
  line-height: 1.2;
  margin: 0;
  font-weight: 800
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 28px
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.feature-card {
  overflow: hidden;
  border: 1px solid rgba(111, 149, 194, .28);
  border-radius: 7px;
  background: linear-gradient(180deg, #0b1b2f, #0a1728);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .17)
}

.feature-card img {
  width: 100%;
  height: 164px;
  object-fit: cover
}

.feature-body {
  padding: 16px 16px 18px;
  min-height: 170px
}

.feature-title {
  display: flex;
  gap: 10px
}

.feature-icon {
  color: var(--gold2);
  font-size: 29px;
  height: 35px
}

.feature-card h3 {
  display: inline-block;
  font-size: 18px;
  margin: 0 0 9px
}

.feature-card p {
  font-size: 13px;
  color: #aab6c5;
  margin: 0;
  line-height: 1.72
}

.partners {
  padding: 43px 0 0;
  border-top: 1px solid rgba(109, 144, 187, .15)
}

.section-title.compact h2 {
  font-size: 27px
}

.partner-strip {
  padding: 24px 0 23px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.partner-strip img {
  max-height: 82px;
  /* object-fit: cover; */
  
    object-fit: contain;
  object-position: center;
    width: 16%;
}

.site-footer {
  background: #070f1a;
  border-top: 1px solid var(--line);
  padding: 30px 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr 1fr;
  gap: 26px;
  align-items: start
}

.footer-brand img {
  width: 167px
}

.footer-brand p,
.footer-col a,
.footer-col p,
.qr-box p {
  color: #96a3b5;
  font-size: 12px;
  line-height: 1.75;
  margin: 10px 0 0
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  color: #d7e0ed;
  font-size: 18px
}

.socials span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(215, 224, 237, 0.3);
  gap: 12px;
  margin-top: 12px;
  color: #d7e0ed;
  font-size: 18px
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-col h3 {
  margin: 0 0 4px;
  font-size: 15px
}

.footer-col a {
  margin: 0
}

.footer-col a:hover {
  color: var(--gold)
}

.contact p {
  margin: 0;
  font-size: 12px
}

.qr {
  display: flex;
}

.qr-box {
  padding: 7px;
  border: 1px solid rgba(120, 154, 194, .23);
  border-radius: 4px;
  text-align: center
}

.qr-box img {
  /* width: 94px; */
  margin: auto
}

.qr-box span {
  font-size: 14px;
  margin: 3px 0 0
}

.copyright {
  border-top: 1px solid rgba(120, 154, 194, .18);
  padding: 15px 0 18px;
  margin-top: 22px;
  color: #7e8b9d;
  text-align: center;
  font-size: 11px
}

@media(max-width:760px) {
  .container {
    width: min(100% - 24px, 520px)
  }

  .site-header {
    height: 60px
  }

  .brand img {
    width: 145px
  }

  .menu-toggle {
    display: block
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    display: none;
    flex-direction: column;
    gap: 0;
    height: auto;
    background: #06111f;
    border-bottom: 1px solid var(--line);
    padding: 4px 14px 10px
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    width: 100%;
    padding: 12px 3px;
    font-size: 13px
  }

  .main-nav a.active:after {
    left: 3px;
    right: auto;
    width: 34px
  }

  .hero {
    height: 610px
  }

  .hero-bg {
    background-position: 67% center;
    background-size: auto 100%;
    opacity: .63
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(2, 9, 17, .75), rgba(2, 9, 17, .96) 73%, rgba(2, 9, 17, .99))
  }

  .hero-copy {
    width: 100%;
    padding: 38px 0 0;
    align-self: flex-start
  }

  .hero-kicker {
    font-size: 10px;
    margin-top: 2px
  }

  h1 {
    font-size: 32px;
    margin-bottom: 16px
  }

  h1 strong {
    font-size: 52px
  }

  .hero-desc {
    font-size: 13px;
    line-height: 1.8;
    max-width: 94%
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .btn {
    min-width: 0;
    height: 42px;
    padding: 0 8px;
    font-size: 13px
  }

  .hero-arrow {
    display: none
  }

  .hero-dots {
    bottom: 16px
  }

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

  .trust-item {
    min-height: 78px;
    padding: 12px 9px;
    gap: 7px;
    border-left: 0 !important
  }

  .trust-icon {
    font-size: 26px;
    width: 32px
  }

  .trust-item h3 {
    font-size: 14px
  }

  .trust-item p {
    font-size: 10px
  }

  .section {
    padding: 32px 0
  }

  .section-title {
    gap: 10px
  }

  .section-title .line {
    width: 40px
  }

  .section-title h2 {
    font-size: 26px
  }

  .section-subtitle {
    font-size: 12px;
    margin-bottom: 18px
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .feature-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 148px
  }

  .feature-card img {
    height: 100%;
    min-height: 148px
  }

  .feature-body {
    min-height: 0;
    padding: 12px
  }

  .feature-icon {
    font-size: 23px;
    height: 28px
  }

  .feature-card h3 {
    font-size: 16px;
    margin-bottom: 7px
  }

  .feature-card p {
    font-size: 12px;
    line-height: 1.58
  }

  .section-title.compact h2 {
    font-size: 20px
  }

  .partner-strip {
    overflow: hidden;
flex-direction: column;
    gap: 15px;
  }

  .partner-strip img {
    /* width: 920px; */
    width: 100%;
    
    object-fit: contain;
    max-width: none;
    height: 76px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .footer-brand img {
    width: 155px
  }

  .contact {
    grid-column: 1/-1
  }

  .qr {
    grid-column: 1/-1;
    width: 124px
  }

  .copyright {
    text-align: left;
    font-size: 10px
  }
}