/* 基础样式 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #292e89;
  --primary-dark: #004c99;
  --primary-light: #4d94ff;
  --secondary: #00a0e9;
  --accent: #ff6b00;
  --accent-light: #ff8c3f;
  --text-dark: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f8f9fa;
  --gray: #e0e0e0;
  --gray-dark: #cccccc;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease-in-out;
  --radius: 10px;
  --radius-large: 20px;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-light)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  min-height: calc(911px - 100px);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: fill; /* 保持图片比例 */
}

/* 溢出隐藏2行 */
.overflow-hidden-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.logo-img {
  height: 40px !important; /* 强制设置logo图片高度 */
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 40px !important; /* 强制设置footer logo图片高度 */
  width: auto;
  object-fit: contain;
}

.product-img {
  max-height: 250px; /* 限制产品图片高度 */
  object-fit: cover; /* 覆盖模式，保持图片比例但填满容器 */
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
  color: #2b2c30;
  font-size: 40px;
  font-weight: bold;
  line-height: 40px;
}

.section-subtitle {
  margin: 0 auto;
  line-height: 1.8;
  font-size: 17px;
  color: #5e5e5e;
  text-align: center;
  margin-top: 22px;
}

.section-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 20px;
}

.btn-outline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #c03117;
  transition: height 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.btn-outline:hover::after {
  height: 100%;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-left: 10px;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0 15px;
  position: relative;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* 页码指示器 */
.page-indicator {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.page-dot::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.page-dot:hover::before {
  opacity: 1;
  visibility: visible;
}

.page-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
}

/* 英雄区域 */
.hero {
  position: relative;
  height: 496px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0 !important;
  padding-bottom: 0;
}
.hero-container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.swiper-slide .slide-img {
  width: 100%;
  max-height: 100%;
  object-fit: fill;
}

.swiper-slide .slide-content {
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 100%;
  height: 80px;
  padding: 0;
  background: rgba(76, 89, 93, 0.8);
  display: flex;
  align-items: center;
}

.swiper-slide .slide-content .slide-title {
  width: 40%;
  height: 80px;
  color: var(--white);
  position: relative;
  margin: 0;
}

.swiper-slide .slide-content .slide-title p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
}

.swiper-slide .slide-content .slide-title img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.swiper-slide .slide-content .slide-desc {
  box-sizing: border-box;
  width: 60%;
  height: 80px;
  line-height: 80px;
  padding-left: 10%;
  color: var(--white);
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.swiper-button-next,
.swiper-button-prev {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(0, 102, 204, 0.8),
      rgba(0, 160, 233, 0.8)
    ),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  z-index: -1;
}

.hero-content {
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 25px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 2;
  transition: var(--transition);
}

.scroll-down:hover {
  color: var(--accent);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* 数据统计 */
.stats {
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 100%;
  height: 100px;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 1.2px 0 rgba(0, 0, 0, 0.03);
  z-index: 2;
}

.stats-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 20%);
  justify-content: center;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.stat-card {
  padding: 10px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 25px;
  background: rgba(164, 164, 164, 0.5);
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #cc0b29;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: "+";
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.stat-number.sy::after {
  content: "亿";
  font-size: 1.2rem;
}
.stat-number.ge::after {
  content: "个";
  font-size: 1.2rem;
}

.stat-text {
  font-weight: 600;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.65);
  transform: translateX(10px);
}

/* 广告位 */
.card-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
}

.card-container .card-item {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.card-container .card-item:hover {
  transform: translateY(-10px);
}

.card-container .card-item .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.products-bg img {
  width: 100%;
  height: 100%;
}

.card-container .card-item .card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--white);
}

.card-container .card-item .card-content .card-title {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.card-container .card-item .card-content .card-subtitle {
  width: 100%;
  text-align: left;
  /* 超出2行部分省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-container .card-item .card-content .card-btn {
  width: fit-content;
  padding: 5px 12px;
  background: #cc0a28;
  border-radius: 6px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.products-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  flex: 1;
  z-index: 2;
}

.products-wrapper {
  width: 100%;
  flex: 1;
  /* 4列2行，不够补全 */
  display: grid;
  grid-template-columns: repeat(4, 340px);
  grid-template-rows: repeat(2, 278px);
  justify-content: center;
  align-items: center;
}

.product-item {
  /* 内边框线 */
  width: 100%;
  height: 100%;
  border: 1px solid #d6d6d6;
  border-bottom: none;
  border-right: none;
  background: #f4f4f4;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-item.active {
  background: #c03118;
  transition: var(--transition);
  color: var(--white);
}

.product-item.active .title {
  color: var(--white);
}
.product-item.active .desc {
  color: var(--white);
}

.product-item:hover {
  background: #c03118;
  transition: var(--transition);
  color: var(--white);
}

.product-item:hover .title {
  color: var(--white);
}

.product-item:hover .desc {
  color: var(--white);
}

.product-item:nth-child(1),
.product-item:nth-child(2),
.product-item:nth-child(3),
.product-item:nth-child(4) {
  border-top: none;
}

.product-item:nth-child(1) {
  border-left: none;
}

.product-item:nth-child(5) {
  border-left: none;
}

.product-item .icon {
  font-size: 60px;
  width: 100%;
  height: 60px;
  margin: 0 auto;
  margin-top: 58px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.product-item:hover .icon {
  color: var(--white);
}

.product-item .title {
  font-size: 20px;
  line-height: 20px;
  text-align: center;
  font-weight: bold;
  color: #222222;
  margin-top: 20px;
  transition: var(--transition);
}

.product-item .desc {
  color: #666666;
  font-size: 15px;
  line-height: 30px;
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
  margin-top: 20px;
  transition: var(--transition);
}

.tabs {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.tabs-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray);
}

.tab-item {
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  margin: 0 5px;
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.tab-item:hover {
  color: var(--primary);
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active::after {
  width: 100%;
}

.tabs-content {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}
.tab-content.active > .product-showcase {
  opacity: 1 !important;
}
.product-showcase {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  padding: 30px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.05),
    rgba(0, 160, 233, 0.05)
  );
}

.product-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: perspective(1000px) rotateY(0deg);
}

.product-img:hover {
  transform: perspective(1000px) rotateY(5deg) scale(1.05);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s infinite ease-in-out;
  animation-delay: var(--delay);
}

.product-info {
  flex: 1;
  min-width: 300px;
  padding: 30px;
}

.product-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 15px;
}

.product-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.product-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

/* 解决方案 */
.solutions {
  background-color: var(--white);
  position: relative;
  padding: 0;
  width: 100%;
}

.solutions-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.solutions-bg img {
  width: 100%;
  height: 100%;
}
.solutions-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.solutions-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 120px;
  padding: 0 10%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.solutions-title {
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  line-height: 40px;
}

.solutions-subtitle {
  width: 500px;
  color: var(--white);
  font-size: 16px;
  line-height: 30px;
}

.solutions-grid {
  width: 100%;
  height: calc(100% - 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.solution-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 25px 0 25px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

.solution-card .solution-bt-bg {
  width: 100%;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: var(--transition);
}

.solution-card .solution-bt-bg img {
  width: calc(100% - 50px);
  height: 100%;
  object-fit: fill;
}

.solution-card:hover .solution-icon,
.solution-card:hover .solution-title,
.solution-card:hover .solution-description {
  transition: var(--transition);
  transform: translateY(-20px);
}
.solution-card:hover .solution-bt-bg {
  transition: var(--transition);
  height: 250px;
  opacity: 1;
}

.solution-card:hover .btn-outline {
  transform: translateX(60px);
}

.solution-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 25px;
  transition: var(--transition);
}

.solution-card:hover .solution-icon {
  transform: scale(1.1) translateY(-20px);
}

.solution-card:hover .solution-icon::after {
  transform: translate(-50%, -50%) scale(1.2);
}

.solution-title {
  width: 60%;
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 20px;
  margin-bottom: 25px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.solution-description {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 70%;
  line-height: 1.7;
}

.solution-sub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  padding: 20px;
}

.solution-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  z-index: 2;
}

.solution-sub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.solution-sub .solution-sub-item-title {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 22px;
  position: relative;
  text-align: left;
  width: 100%;
  padding-left: calc(50% - 2.5em);
  /* 超出部分省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solution-sub-item-title::before {
  content: attr(index);
  position: absolute;
  top: 0;
  left: calc(50% - 3em);
  color: #c03117;
  font-weight: bold;
  font-size: 32px;
  line-height: 32px;
}
.solution-sub .solution-sub-item-desc {
  color: var(--white);
  font-size: 16px;
  text-align: center;
  /* 超出2行部分省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 公司介绍 */
.about {
  background-color: var(--white);
  position: relative;
  box-sizing: border-box;
  padding: 60px 2px 0 2px;
  height: fit-content;
}

.about-content {
  width: 100%;
  height: 540px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.about-text-content {
  box-sizing: border-box;
  width: 100%;
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-text-title {
  width: 100%;
  font-size: 32px;
  line-height: 32px;
  color: #232b8c;
  font-weight: bold;
  transition: var(--transition);
}
.about-text-content p {
  width: 100%;
  font-size: 15px;
  line-height: 36px;
  margin-top: 35px;
  color: #000;
  text-indent: 2em;
  /* 溢出隐藏5行 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  transition: var(--transition);
}

.about-text-more {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  height: 190px;
  padding: 20px;
  background: #232b8c;
  color: var(--white);
}

.more-item {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.more-item:hover {
  transform: translateY(-10px);
}

.more-item .icon {
  margin-bottom: 20px;
  position: relative;
}
.more-item .icon::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.25;
  position: absolute;
  right: -10px;
  top: 0px;
}
.more-item .icon :hover::after {
  transform: scale(1);
}

.more-item .icon img {
  width: 100%;
  height: 44px;
}

.more-item .cn_title {
  font-size: 15px;
  color: #e8e8e8;
  text-align: center;
  line-height: 15px;
}
.more-item .en_title {
  font-size: 14px;
  color: #e8e8e8;
  line-height: 14px;
  margin-top: 10px;
}
.about-image {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(1000px);
  transition: var(--transition);
}

.image-wrapper:hover img {
  transform: perspective(1000px) scale(1.08);
}

.about-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: var(--transition);
}

.image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 服务热线 */
.hotline {
  background-color: var(--white);
  position: relative;
  color: #000;
  list-style: none;
  font-size: 16px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  height: 143px;
  position: relative;
  overflow: hidden;
  animation-fill-mode: both;
  visibility: visible;
  animation-duration: 1.5s;
  animation-delay: 0.3s;
  animation-name: fadeInUp;
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
}

.hotline-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-content-left {
  box-sizing: border-box;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 15%;
}

.hotline-content-left .lt {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-content-left .lb,
.hotline-content-left .lt div:nth-child(1) {
  color: #5b5b5b;
  font-size: 20px;
}

.hotline-content-left .lt div:nth-child(2) {
  color: #232b8c;
  font-weight: bold;
  font-size: 32px;
}

.hotline-content-right {
  width: 30%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: var(--transition);
}
.hotline-btn-bg {
  width: 256px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hotline-btn {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

/* 新闻动态 */
.news {
  background-color: var(--white);
  position: relative;
}

.news-container {
  width: 100%;
  min-height: 455px;
  display: grid;
  grid-template-columns: 665px auto 180px;
  gap: 10px;
  position: relative;
  align-items: center;
  z-index: 1;
}

.news-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  height: 100%;
}

.news-slider {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.news-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.news-slider .slide-img {
  width: 100%;
  height: 100%;
}

.news-slider .slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}

.news-slider .slide-content .slide-title {
  box-sizing: border-box;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  padding: 16px 20px;
  padding-right: 30%;
  /* 超出部分省略号2行 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-slider .slide-date {
  width: 84px;
  height: 98px;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.news-slider .slide-date img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slider .slide-date .date-content {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
}
.news-slider .slide-date .date-content span:nth-child(1) {
  font-size: 32px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 2px;
}

.news-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fbfbfb;
}

.news-list.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.news-item {
  box-sizing: border-box;
  width: 100%;
  background: var(--white);
  padding: 20px;
  transition: var(--transition);
  border-top: 1px solid #ddd;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  cursor: pointer;
}

.news-item:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-large);
}

.news-item-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 2px;
}

.news-item-content {
  flex: 1;
}

.news-item-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-description {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻侧边栏 */
.news-sidebar {
  width: 100%;
  height: 100%;
}

.news-categories {
  box-sizing: border-box;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.category-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-item {
  flex: 1;
  display: flex;
  align-items: center;
  transition: var(--transition);
  color: var(--text-dark);
  position: relative;
}

.category-link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: #666;
}

.category-item.active {
  opacity: 1;
  visibility: visible;
  color: var(--white);
  background: var(--primary);
  position: relative;
}

/* 分类项激活状态下的伪元素 指向左侧的小三角箭头 */
.category-item.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  transform: translateY(-50%) rotate(45deg);
  transition: var(--transition);
  transition-delay: 0.5s;
}

.category-item.active .category-link::before {
  left: 0;
}

.category-item.active .category-link {
  color: var(--white);
  background: var(--primary);
}

.category-item:hover .category-link {
  background: var(--primary);
  transform: translateY(-2px);
}

.category-item:hover .category-link i {
  color: var(--white);
}

.category-item.active:hover .category-link {
  background: var(--primary);
}

.category-link {
  cursor: pointer;
  text-decoration: none;
}

.category-link i {
  font-size: 60px;
  text-align: center;
  transition: var(--transition);
}

.category-link .category-title {
  font-size: 18px;
  color: #666666;
  text-align: center;
  transition: var(--transition);
}

.category-item.active .category-title {
  color: var(--white);
}

.category-item:hover .category-title {
  color: var(--white);
}

.category-item.active:hover .category-title {
  color: var(--white);
}

/* 新闻列表切换动画 */
.news-list {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.news-list[style*="flex"] {
  opacity: 1;
  transform: translateY(0);
}
.hot-news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hot-news-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.hot-news-item:hover {
  background: var(--gray-light);
  transform: translateX(5px);
}

.hot-news-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hot-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hot-news-item:hover .hot-news-thumb img {
  transform: scale(1.1);
}

.hot-news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hot-news-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-news-date {
  font-size: 0.8rem;
  color: var(--text-lighter);
  font-weight: 500;
}

/* 快捷服务区域样式 */
.quick {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.quick-container {
  max-width: 1360px;
  height: 380px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quick-form-container {
  width: 30%;
  height: 100%;
}

.quick-item-form {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.quick-grid {
  flex: 1;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px 14px;
  align-items: stretch;
}

.quick-item {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.quick-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.quick-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(180deg, #fff, #fcf2f4);
  border-bottom: 0.521vw solid #cc0a28;
}

.quick-item:hover::before {
  left: 100%;
}

.quick-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ce1127, #a00e1f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quick-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: rotate 3s linear infinite;
}

.quick-icon img {
  display: block;
  width: 50%;
  height: 50%;
}

.quick-icon i {
  font-size: 32px;
  color: white;
  position: relative;
  z-index: 2;
}

.quick-content {
  width: calc(100% - 100px);
  height: 80px;
}

.quick-title {
  max-width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  /* 超出部分省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-subtitle {
  font-size: 14px;
  color: #666;
  font-style: italic;
  opacity: 0.8;
  text-align: left;
}

.quick-item-form .tab-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-item-form .tab-item::after {
  content: "";
  background: #ce1127;
}

.quick-item-form .tab-container .tab-item {
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.quick-item-form .tab-container .tab-item.active {
  color: #ce1127;
}

.quick-form {
  width: 100%;
  margin-top: 25px;
}

.form-group {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 5px 15px;
}

.form-group img {
  height: 80%;
}

.get-code {
  color: #ce1127;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  font-size: 14px;
  background: transparent;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
}

.form-input::placeholder {
  color: #999;
}

.quick-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ce1127, #a00e1f);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.quick-btn:hover {
  background: linear-gradient(135deg, #a00e1f, #8b0c1a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(206, 17, 39, 0.3);
}

.form-links {
  text-align: center;
  font-size: 13px;
}

.form-link {
  color: #666;
}

.form-link-action {
  color: #ce1127;
  text-decoration: none;
  font-weight: 500;
  margin-left: 5px;
}

.form-link-action:hover {
  text-decoration: underline;
}

/* 动画效果 */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

.quick-item {
  animation: fadeInUp 0.6s ease forwards;
}

.quick-item:nth-child(1) {
  animation-delay: 0.1s;
}
.quick-item:nth-child(2) {
  animation-delay: 0.2s;
}
.quick-item:nth-child(3) {
  animation-delay: 0.3s;
}
.quick-item:nth-child(4) {
  animation-delay: 0.4s;
}
.quick-item:nth-child(5) {
  animation-delay: 0.5s;
}
.quick-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* 合作伙伴 */
.partners {
  box-sizing: border-box;
  background-color: var(--gray-light);
  position: relative;
  padding-bottom: 0;
  width: 1920px;
  height: 800px;
  margin: 0 auto;
  padding-top: 65px;
}

.partners-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #edeef2;
}

.partners-bg img {
  width: 100%;
  height: 100%;
}

.partners-container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.partners-desc {
  width: 60%;
  color: #000;
  margin: 0 auto;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
}

.partners-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1360px;
  margin: 0 auto;
  height: calc(100% - 230px);
}

.partners-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}

.partner-item {
  width: 100px;
  height: 100px;
  position: absolute;
}

.partner-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.partner-item:nth-child(1) {
  top: 150px;
  left: 160px;
}
.partner-item:nth-child(2) {
  top: 150px;
  left: 480px;
}
.partner-item:nth-child(3) {
  top: 150px;
  left: 790px;
}
.partner-item:nth-child(4) {
  top: 150px;
  left: 1110px;
}

.partner-item:nth-child(5) {
  top: 330px;
  left: 300px;
}

.partner-item:nth-child(6) {
  top: 330px;
  left: 610px;
}

.partner-item:nth-child(7) {
  top: 330px;
  left: 930px;
}

/* 
.partners-slider {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  z-index: 1;
  width: 100%;
}

.partners-track {
  display: flex;
  animation: scroll 30s linear infinite;
  margin: 20px 0;
  width: calc(200px * 14); 
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 7)); 
}

.partner-logo {
  flex: 0 0 200px;
  height: 100px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: var(--shadow-large);
}

.partner-img {
  max-width: 100%;
  opacity: 1;
  transition: var(--transition);
}

.partner-logo:hover .partner-img {
  filter: grayscale(0);
  opacity: 1;
} */

/* 页脚 */
.footer {
  background-color: #1a1a1a;
  color: var(--white);
  position: relative;
  padding: 70px 0 0;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(0, 102, 204, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.footer-top {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-info {
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-left: 10px;
}

.footer-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 1px;
  background: var(--white);
  border-radius: 1px;
  transform: translateY(50%);
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list i {
  margin-right: 15px;
  color: var(--primary);
  font-size: 1.1rem;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.copyright {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.leave-a-message {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 1;
  transition: var(--transition);
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}
.leave-a-message-text {
  position: absolute;
  bottom: -30px;
  right: 0px;
  width: 50px;
  height: 20px;
  font-size: 0.5rem;
  color: var(--white);
  background: var(--primary);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.leave-a-message:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(var(--x), var(--y));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 用户信息卡片样式 */
.user-info-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  width: 30%;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.user-info-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 用户信息区域 */
.user-info {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #c72235;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.user-avatar:hover img {
  transform: scale(1.1);
}

.user-detail {
  flex: 1;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.2;
}

.user-level {
  font-size: 14px;
  color: #666;
  background: linear-gradient(135deg, #c72235 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* 快捷链接区域 */
.quick-links {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

.quick-link-item {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.quick-link-item:hover {
  background: linear-gradient(135deg, #c72235 0%, #ff6b6b 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  border-color: transparent;
}

.quick-link-item i {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  color: #c72235;
  transition: color 0.3s ease;
}

.quick-link-item:hover i {
  color: #ffffff;
}

.quick-link-item span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

/* 退出登录按钮 */
.logout-btn {
  width: 100%;
  text-align: center;
}

.btn-logout {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ce1127, #a00e1f);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logout:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-logout:active {
  transform: translateY(0);
}

.btn-logout i {
  font-size: 16px;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-info-card {
  animation: fadeInUp 0.5s ease-out;
}

/* 图标样式重置 */
.quick-link-item i,
.btn-logout i {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* 加载状态 */
.user-info-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.user-info-card.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 移动端 */
@media screen and (max-width: 768px) {
  .user-info-card {
    width: 100%;
  }
}
