/* ====== Reset ====== */
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

a,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
hr,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html,
button,
input,
select,
textarea {
  color: #333;
}

html {
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

textarea {
  resize: vertical;
}

b,
strong {
  font-weight: bold;
}

dd {
  margin-left: 40px;
}

ol,
ul {
  padding-left: 40px;
}

q,
blockquote {
  quotes: none;
  margin: 20px 40px;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

small {
  font-size: 80%;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #666;
}

a,
a:focus,
a:active,
a:hover {
  outline: 0;
}

/* ====== Headings ====== */
.u-flex {
  display: flex;
}

.u-fixed {
  position: fixed;
}

.u-absolute {
  position: absolute;
}

.row-between {
  justify-content: space-between;
}

.box-bg {
  background: rgb(255 255 255 / 90%);
  box-shadow: 0px 0px 20px 0px rgba(51, 51, 51, 0.1);
  border-radius: 12px 0px 0px 12px;
}

.box-link {
  color: #2F79E8;
  font-weight: 500;
  overflow: hidden;
}

.box-link img {
  margin-top: -4px;
  animation: slideRight 1s linear infinite;
}

.box-link:hover {
  color: #2F79E8;
  opacity: 0.8;
}

.red-span span {
  color: #e6080a;
  font-weight: 500;
}

/* ====== Main Container ====== */
.loading>.foot {
  height: 36px;
  line-height: 36px;
  background: #F9FBFD;
  font-size: 14px;
  color: #999898;
  justify-content: center;
}

.loading>.foot a {
  color: #999898;
}

.loading>.foot a:hover {
  color: #666;
}

.loading .main {
  height: calc(100vh - 36px);
  background: url('../img/portal_bg.jpg') no-repeat;
  background-size: auto 100%;
  position: relative;
  background-color: #F9FBFD;
}

.loading .main .foot {
  font-size: 16px;
  color: #FFFFFF;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap
}

.loading .main .foot span {
  margin-left: 30px;
}

.loading .main .top {
  color: #fff;
  margin: 0.6vw 0 0 4.5vw;
}

.loading .main .top>img {
  margin-left: -20px;
}

.loading .main .top .head {
  margin-top: -16px;
  text-shadow: 0px 0px 11px rgba(7, 61, 142, 0.5);
}

.loading .head .title {
  align-items: baseline;
  font-weight: bold;
  white-space: nowrap
}

.loading .head h1 {
  font-size: 40px;
}

.loading .head .subhead {
  font-size: 24px;
  padding: 0 30px 0 20px;
}

.loading .head .spot-center {
  box-shadow: 0px 0px 11px 0px rgba(7, 61, 142, 0.5);
  border-radius: 4px;
  border: 1px solid #FFFFFF;
  line-height: 26px;
}

.loading .head .spot-center .tit {
  background: #FFFFFF;
  border-radius: 4px 0px 0px 4px;
  font-size: 22px;
  color: #3981D8;
  text-shadow: none;
  padding: 0 10px;
}

.loading .head .spot-center .scroll-wrap {
  overflow: hidden;
  width: 420px;
}

.loading .head .spot-center .scroll-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 21px;
  animation: scrollLeft linear infinite;
}

.loading .head .spot-center .scroll-content:hover {
  animation-play-state: paused;
}

.loading .head .spot-center .scroll-content .info {
  display: inline-block;
}

.loading .head .slogan {
  font-size: 18px;
  padding: 5px 0 12px
}

.loading .head .phone {
  font-size: 20px;
  align-items: center;
  background: #0762ce80;
  border-radius: 4px;
  width: fit-content;
  padding: 2px 10px;
}

.loading .head .phone img {
  margin-right: 6px;
}

.loading .content {
  padding-top: 4vw;
}

.loading .content .content-l {
  transform: translateX(-100%);
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.loading .content .content-l .content-nav {
  border-left: 2px solid #F9FBFD;
  position: relative;
  margin-left: 20px;
}

.loading .content .content-l .content-nav div {
  font-size: 20px;
  cursor: pointer;
  padding: 10px 0 10px 30px;
  width: 230px;
  line-height: 28px;
  position: relative;
  z-index: 1;
}

.loading .content .content-l .content-nav div:not(:first-child) {
  margin-top: 10px;
}

.loading .content .content-l .content-nav div::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px 4px 4px 0px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.loading .content .content-l .content-nav .active {
  font-weight: bold;
}

.loading .content .content-l .content-nav .active::after {
  opacity: 1;
}

.loading .content .content-l .content-btn {
  position: relative;
  background: #FFFFFF;
  border-radius: 6px;
  font-weight: 500;
  font-size: 19px;
  color: #0762CE;
  width: 191px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  overflow: hidden;
  margin-top: 7vw;
}

.loading .content .content-l .content-btn .pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background-color: #144c944d;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulse 2s linear infinite;
}

.loading .content .content-l .content-btn:hover {
  opacity: 1;
}

.loading .content .content-l .content-btn:hover .pulse-circle {
  animation: none;
  transform: translate(-50%, -50%) scale(1.5);
  opacity: 1;
}

.loading .content .content-r {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: #333333;
}

.loading .content .content-r .contact-info,
.loading .content .content-r .about-section {
  padding: 30px 30px 20px;
  opacity: 0;
  animation: slideFromBottom 0.8s ease-out forwards;
}

.loading .contact-info-item {
  font-weight: 500;
  padding: 20px 0;
  line-height: 34px;
}

.loading .contact-info-item .info-l {
  padding-right: 30px;
}

.loading .contact-info-medium {
  text-align: center;
  color: #999898;
}

.loading .contact-info-medium div:not(:first-child) {
  margin-left: 20px;
}

.loading .contact-info-medium img {
  width: 98px;
  margin-bottom: 5px;
}

.loading .about-section {
  line-height: 36px;
}

.loading .about-section p:first-child {
  text-indent: 2em;
}

.loading .about-section div:nth-child(2) {
  margin-top: 12px;
}

.loading .about-section .box-link,
.loading .products-grid .box-link {
  text-align: right;
}

.loading .products-grid .box-link {
  margin-right: 30px;
}

.loading .products-grid {
  width: 55vw;
  overflow: hidden;
  animation: slideInFromRight 0.8s ease-out forwards;
}

.loading .products-grid {
  /* 左侧渐变淡出，右侧完全可见 */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      #ffff 40px,
      #ffff 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      #ffff 40px,
      #ffff 100%);
}

.loading .product-card {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.loading .product-empty {
  text-align: right;
  margin: 10px 30px;
}

.loading .product-list {
  margin-bottom: 12px;
  animation: scrollLeft linear infinite;
  flex-wrap: nowrap;
  overflow: visible;
}

.loading .product-item {
  margin-right: 10px;
  background: #FFFFFF;
  box-shadow: 0px 1px 10px 0px rgba(102, 98, 98, 0.1);
  border-radius: 12px;
  padding: 10px 20px;
}

.loading .product-title {
  font-weight: 500;
  font-size: 18px;
  align-items: end;
  width: max-content;
}

.loading .product-title:hover img {
  opacity: 0.8;
}

.loading .product-title img {
  height: 32px;
  margin-right: 7px;
}

.loading .product-box {
  white-space: nowrap;
  margin-right: -10px;
}

.loading .product-info {
  border-radius: 4px;
  border: 1px solid #E8E8E8;
  margin-top: 10px;
  padding: 0 5px;
  margin-right: 10px;
}

.loading .is-other {
  color: #e6080a;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    /* 开始状态：缩小到0，完全不透明 */
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    /* 结束状态：放大到1.5倍，完全透明 */
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-4px);
    /* 从左边外进来 */
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    transform: translateX(12px);
    /* 从右边出去 */
    opacity: 0;
  }
}

@keyframes slideFromBottom {
  0% {
    /* 初始在屏幕外底部，完全透明 */
    opacity: 0;
    transform: translateY(100vh);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
