:root { color-scheme: light; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #333;
  font: 12px "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }
ul,
li { margin: 0; padding: 0; list-style: none; }
a { color: #333; text-decoration: none; }

.g_head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 80px;
  background: rgba(255, 255, 255, .98);
}

.headBox {
  width: 1240px;
  max-width: 96%;
  height: 80px;
  margin: 0 auto;
}

.g_head .logoBox {
  float: left;
  width: 150px;
  height: 50px;
  margin-top: 21px;
}

.g_head .logoBox a {
  display: flex !important;
  width: 150px;
  height: 50px;
  align-items: center;
  text-decoration: none;
}

.g_head .logoBox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g_head .logoBox span {
  color: #222;
  font-weight: 700;
}

.g_head .navBox { float: right; padding-top: 26px; }
.g_head .navBox ul { clear: both; overflow: hidden; }
.g_head .navBox ul li { display: inline-block; width: 130px; line-height: 40px; text-align: center; }
.g_head .navBox ul li a { display: block; color: #000; font-size: 18px; font-weight: 400; transition: .2s; }
.g_head .navBox ul li:hover a { font-weight: 600; }
.g_head .navBox ul li.active a { font-size: 20px; font-weight: 600; }
.g_head .navBox ul li.active::after { display: block; width: 24px; height: 6px; margin: 10px auto 0; border-radius: 3px; background: #000; content: ""; }

#main > .section {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  scroll-margin-top: 0;
}

#main > .section1 { overflow: hidden; }

.homeBannerBox {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1300px;
  height: 800px;
  margin: -320px 0 0 -650px;
}

.homeBannerBox .img { float: left; width: 900px; height: 739px; }
.homeBannerBox .img svg { display: block; width: 100%; height: 100%; }
.homeBannerBox .info { position: absolute; z-index: 1; top: 0; left: 674px; padding-top: 170px; }
.homeBannerBox .p1 { width: 600px; height: 98px; margin: 0 0 30px; color: #000; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 60px; font-weight: 600; }
.homeBannerBox .p2 { margin: 10px 0; color: #000; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 28px; opacity: .8; }
.homeBannerBox .p3 { font-size: 24px; opacity: .6; }

.homeDownDiv {
  position: fixed;
  z-index: 31;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  width: 660px;
  margin: 170px 0 0 10px;
  gap: 20px;
  transition: opacity .22s, visibility .22s;
}

body[data-active-section="About"] .homeDownDiv,
body[data-active-section="Contact"] .homeDownDiv { visibility: hidden; opacity: 0; pointer-events: none; }

.homeDownDiv .btn { position: relative; display: inline-block; width: 199px; height: 84px; }
.homeDownDiv .btnIos { background: url("/public/index/images/platform-ios-badge.png") 0 50% / contain no-repeat; }
.homeDownDiv .btnAndroid { background: url("/public/index/images/platform-android-badge.png") 50% 50% / contain no-repeat; }
.homeDownDiv .btnIos:hover,
.homeDownDiv .btnAndroid:hover { opacity: .7; }
.homeDownDiv .btnWindows { width: 165px; height: 60px; border-radius: 6px; background: linear-gradient(135deg, #0078d4, #106ebe); box-shadow: 0 3px 12px rgba(0, 120, 212, .3); cursor: pointer; transition: .3s; }
.homeDownDiv .btnWindows:hover { background: linear-gradient(135deg, #106ebe, #005a9e); box-shadow: 0 5px 18px rgba(0, 120, 212, .4); transform: translateY(-2px); }
.homeDownDiv .btnWindows::before { position: absolute; top: 50%; left: 10px; width: 16px; height: 16px; background: #fff; content: ""; transform: translateY(-50%); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-13.051-1.351'/%3E%3C/svg%3E") center / contain no-repeat; }
.homeDownDiv .btnWindows .text { position: absolute; top: 50%; left: 32px; color: #fff; font-size: 11px; font-weight: 600; text-align: left; transform: translateY(-50%); }
.homeDownDiv .btnWindows .title { display: block; margin-bottom: 1px; font-size: 12px; line-height: 1.1; }
.homeDownDiv .btnWindows .subtitle { display: block; font-size: 9px; line-height: 1.1; opacity: .9; }
.homeDownDiv .btnSmart { display: none; }

.g_pointDiv {
  position: fixed;
  z-index: 28;
  top: 360px;
  right: 20px;
}

.g_pointDiv a { display: block; width: 8px; height: 8px; margin-bottom: 10px; border-radius: 4px; background: #b5b5b5; cursor: pointer; transition: .5s; }
.g_pointDiv a.active { height: 32px; background: #000; }

.section2 { background: #fff; color: #2c3e50; }
.about { width: 100%; color: #2c3e50; }
.about1 { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; background: #fff; }
.about1 .cnt { position: relative; z-index: 1; box-sizing: border-box; width: 1200px; max-width: 95%; padding: 20px 0; }
.about .title { padding: 50px 0 40px; color: #ff6b6b; font-size: 50px; font-weight: 700; letter-spacing: .86px; text-align: center; text-shadow: 2px 2px 4px rgba(0, 0, 0, .1); }
.about h2.title { margin: 0; }
.about .info { margin: 0 auto; padding: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 15px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 32px rgba(0, 0, 0, .1); color: #34495e; font-size: 26px; font-weight: 400; letter-spacing: 1.07px; line-height: 56px; text-align: left; }
.about .info p { margin-bottom: 20px; text-indent: 2em; }
.about1 .info2 { display: block; margin: 30px auto 0; padding: 30px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 15px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 32px rgba(0, 0, 0, .1); color: #2c3e50; font-size: 30px; font-weight: 500; line-height: 50px; }
.about1 .info2 .font1 { padding-right: 8px; color: #ff6b6b; font-size: 32px; font-weight: 700; }

.section3 { background: #fff; }
.section-with-news { height: auto !important; min-height: 100svh !important; }
.contactBanner { position: relative; display: flex; align-items: center; justify-content: center; min-height: auto; padding-top: 90px; }
.contactBanner .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.contactBanner .title { margin-bottom: 60px; color: #ff6b6b; font-size: 48px; font-weight: 700; letter-spacing: 2px; text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, .1); }
.contactBanner h2.title { margin-top: 0; }
.contact-card p a { color: inherit; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 30px; margin-bottom: 30px; }
.contact-card { position: relative; overflow: hidden; padding: 40px 30px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); text-align: center; transition: .3s; }
.contact-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, #ff6b6b, #4ecdc4); content: ""; }
.contact-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .15); transform: translateY(-10px); }
.contact-card .icon { display: block; margin-bottom: 20px; font-size: 48px; }
.contact-card h3 { margin: 0 0 15px; color: #2c3e50; font-size: 24px; font-weight: 600; }
.contact-card p { margin: 0; color: #5a6c7d; font-size: 16px; line-height: 1.6; }

.news-section { padding: 64px 20px 8px; background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%); }
[data-cms-state^="{"] { display: none; }
.news-empty { padding: 30px 24px; color: #5a6c7d; font-size: 16px; line-height: 1.8; text-align: center; }
.news { width: 100%; max-width: 1200px; margin: 0 auto; }
.news-title { margin: 0; color: #ff6b6b; font-size: 42px; font-weight: 700; letter-spacing: 1px; text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.news-desc { max-width: 720px; margin: 18px auto 30px; color: #5a6c7d; font-size: 17px; line-height: 1.8; text-align: center; }
.news-list { margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .75); border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(31, 74, 68, .09); list-style: none; }
.news-item { display: flex; align-items: center; gap: 24px; min-height: 66px; padding: 0 28px; border-bottom: 1px solid #eef3f2; }
.news-item:last-child { border-bottom: 0; }
.news-link { min-width: 0; overflow: hidden; color: #2c3e50; font-size: 17px; font-weight: 600; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.news-link::before { display: inline-block; width: 8px; height: 8px; margin-right: 13px; border-radius: 50%; background: #4ecdc4; content: ""; vertical-align: 2px; }
.news-link:hover { color: #ff6b6b; }
.news-time { flex: 0 0 auto; margin-left: auto; color: #97a3ab; font-size: 14px; }
.news-more { padding: 24px 0 4px; text-align: center; }
.news-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 25px; border-radius: 22px; background: linear-gradient(135deg, #ff6b6b, #ff8989); box-shadow: 0 8px 18px rgba(255, 107, 107, .22); color: #fff; font-size: 15px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.news-more a::after { margin-left: 9px; content: "→"; }
.news-more a:hover { box-shadow: 0 12px 23px rgba(255, 107, 107, .3); transform: translateY(-2px); }

.footer { padding: 30px 0; color: #666; font-size: 14px; text-align: center; }
.footer .p1 { height: 30px; letter-spacing: .26px; line-height: 30px; }
.footer .p1 a { color: #333; font-size: 18px; }
.footer .p2 { padding: 5px 0; }
.footer a { display: inline-block; margin: 0 10px; color: #838383; font-size: 14px; }

@media (max-width: 1024px) {
  #main > .section { height: auto; min-height: 100svh; }
  .homeDownDiv { top: auto; bottom: 30px; left: 50%; width: min(92vw, 280px); margin: 0; flex-direction: column; transform: translateX(-50%); gap: 15px; }
  .homeDownDiv .btnIos,
  .homeDownDiv .btnAndroid,
  .homeDownDiv .btnWindows { display: none; }
  .homeDownDiv .btnSmart { display: flex; align-items: center; width: 100%; height: 60px; padding: 0 20px; border-radius: 15px; background: linear-gradient(135deg, #ff6b6b, #ff8e8e); box-shadow: 0 8px 25px rgba(255, 107, 107, .3); color: #fff; }
  .homeDownDiv .smart-icon { margin-right: 15px; font-size: 24px; }
  .homeDownDiv .smart-text { display: flex; flex-direction: column; align-items: flex-start; }
  .homeDownDiv .smart-title { font-size: 16px; font-weight: 700; }
  .homeDownDiv .smart-subtitle { margin-top: 2px; font-size: 11px; opacity: .9; }
  .homeBannerBox { top: 100px; left: 50%; width: 95%; height: auto; margin: 0; transform: translateX(-50%); }
  .homeBannerBox .img { float: none; width: 100%; height: min(52vw, 500px); margin-bottom: 20px; }
  .homeBannerBox .info { position: static; padding: 20px 0; text-align: center; }
  .homeBannerBox .p1 { width: auto; height: auto; margin-bottom: 15px; font-size: 32px; }
  .homeBannerBox .p2 { font-size: 18px; }
  .g_head .navBox ul li { width: auto; padding: 0 15px; }
  .g_head .navBox ul li a { font-size: 14px; }
  .about1 .cnt { width: 100%; max-width: 100%; padding: 20px 25px; }
  .about .title { padding: 30px 0 20px; font-size: 28px; }
  .about .info { padding: 25px 20px; font-size: 16px; line-height: 28px; }
  .about1 .info2 { padding: 25px 20px; font-size: 16px; line-height: 28px; }
  .about1 .info2 .font1 { font-size: 18px; }
  .contactBanner { padding: 85px 0 20px; }
  .contactBanner .title { margin-bottom: 30px; font-size: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 15px; }
  .contact-card { padding: 25px 20px; }
  .contact-card .icon { margin-bottom: 12px; font-size: 36px; }
  .contact-card h3 { margin-bottom: 10px; font-size: 18px; }
  .contact-card p { font-size: 14px; }
  .news-section { padding: 52px 16px 8px; }
  .news-title { font-size: 32px; }
  .news-desc { margin: 14px auto 24px; font-size: 15px; }
  .news-item { min-height: 58px; padding: 0 18px; gap: 12px; }
  .news-link { font-size: 15px; }
  .news-time { font-size: 12px; }
  .footer { padding: 20px; }
}

@media (max-width: 600px) {
  .g_head { height: 68px; }
  .headBox { max-width: 100%; padding: 0 14px; box-sizing: border-box; }
  .g_head .logoBox { width: 118px; height: 50px; margin-top: 9px; }
  .g_head .logoBox a { width: 118px; height: 50px; }
  .g_head .navBox { padding-top: 15px; }
  .g_head .navBox ul li { padding: 0 7px; line-height: 30px; }
  .g_head .navBox ul li a { font-size: 12px; }
  .g_head .navBox ul li.active a { font-size: 13px; }
  .g_head .navBox ul li.active::after { width: 15px; height: 3px; margin-top: 4px; }
  .homeBannerBox { top: 78px; }
  .homeBannerBox .img { height: 420px; }
  .homeBannerBox .p1 { font-size: 28px; }
  .homeBannerBox .p2 { font-size: 16px; }
  .g_pointDiv { top: 300px; right: 10px; }
  .g_pointDiv a { width: 6px; height: 6px; margin-bottom: 8px; }
  .g_pointDiv a.active { height: 24px; }
}
