/* 服务页面样式 - Q智星 */

/* 确保页面可以正常滚动 */
html, body.services-page {
  overflow: visible !important; /* 强制启用滚动 */
  overflow-x: hidden !important; /* 防止水平滚动 */
  height: auto !important; /* 允许内容撑开页面高度 */
  position: relative !important; /* 确保页面可以正常定位 */
}

/* 修复移动端滚动问题 */
html.services-scroll, body.services-page {
  touch-action: auto !important; /* 启用所有触摸交互 */
}

/* 左侧固定进度条样式 */
.page-progress-container {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.progress-indicator {
  position: relative;
  width: 2px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  margin-right: 15px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #1d62f0;
  border-radius: 1px;
  transition: height 0.3s ease;
}

.progress-sections {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
}

.progress-section {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.progress-section .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.progress-section .label {
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.progress-section:hover .dot, 
.progress-section.active .dot {
  background-color: #1d62f0;
  transform: scale(1.2);
}

.progress-section:hover .label {
  opacity: 1;
  transform: translateX(0);
}

.progress-section.active .label {
  opacity: 1;
  transform: translateX(0);
  color: #1d62f0;
  font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .page-progress-container {
    left: 15px;
  }
}

@media (max-width: 768px) {
  .page-progress-container {
    display: none; /* 在小屏幕上隐藏进度条 */
  }
  
  .orbit-ball {
    width: 60px;
    height: 60px;
    font-size: 11px;
    margin: -30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2), 0 0 18px rgba(29, 98, 240, 0.8);
    transform-origin: 140px;
  }
  
  .orbit-ball span {
    font-size: 11px;
    line-height: 1.2;
  }
  
  .orbit-ball:nth-child(1) {
    transform-origin: center 140px;
  }
  
  .orbit-ball:nth-child(2) {
    transform-origin: -121.2px 70px;
  }
  
  .orbit-ball:nth-child(3) {
    transform-origin: -121.2px -70px;
  }
  
  .orbit-ball:nth-child(4) {
    transform-origin: center -140px;
  }
  
  .orbit-ball:nth-child(5) {
    transform-origin: 121.2px -70px;
  }
  
  .orbit-ball:nth-child(6) {
    transform-origin: 121.2px 70px;
  }
  
  .orbit-path {
    width: 280px;
    height: 280px;
  }
  
  .orbiting-balls {
    width: 280px;
    height: 280px;
  }
  
  .center-main-ball {
    width: 120px;
    height: 120px;
  }
  
  .center-text span {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .orbit-ball {
    width: 52px;
    height: 52px;
    font-size: 10px;
    margin: -26px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2), 0 0 15px rgba(29, 98, 240, 0.8);
    transform-origin: 120px;
  }
  
  .orbit-ball span {
    font-size: 10px;
    line-height: 1.1;
  }
  
  .orbit-ball:nth-child(1) {
    transform-origin: center 120px;
  }
  
  .orbit-ball:nth-child(2) {
    transform-origin: -104px 60px;
  }
  
  .orbit-ball:nth-child(3) {
    transform-origin: -104px -60px;
  }
  
  .orbit-ball:nth-child(4) {
    transform-origin: center -120px;
  }
  
  .orbit-ball:nth-child(5) {
    transform-origin: 104px -60px;
  }
  
  .orbit-ball:nth-child(6) {
    transform-origin: 104px 60px;
  }
  
  .orbit-path {
    width: 240px;
    height: 240px;
  }
  
  .orbiting-balls {
    width: 240px;
    height: 240px;
  }
  
  .center-main-ball {
    width: 100px;
    height: 100px;
  }
  
  .center-text span {
    font-size: 10px;
  }
}

/* Banner样式 */
.service-banner {
  position: relative;
  background-image: url('/SmartContractPro/images/nybanner1.png');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}

.service-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: transparent; */
  z-index: 1;
}

.service-banner .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-banner .banner-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-banner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
  color: #333;
}

.service-banner .btn.free-trial-btn {
  background-color: #00d1b2;
  border-color: #00d1b2;
  color: #fff;
  padding: 10px 30px;
  font-size: 18px;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.service-banner .btn.free-trial-btn:hover {
  background-color: #00b89c;
  border-color: #00b89c;
}

/* 产品导航样式 */
.product-nav {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.nav-tab {
  padding: 10px 30px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-tab:hover {
  color: #1d62f0;
  background-color: rgba(29, 98, 240, 0.1);
}

.nav-tab.active {
  color: #fff;
  background-color: #1d62f0;
}

/* 通用部分样式 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: #666;
}

/* 产品介绍部分样式 */
.product-intro {
  background-color: #fff;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-text {
  flex: 0 0 50%;
  padding-right: 40px;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
  text-indent: 2em; /* 添加首行缩进 */
}

.intro-image {
  flex: 0 0 45%;
  animation: floatImage 4s ease-in-out infinite;
}

.intro-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.next-section {
  margin-top: 50px;
  text-align: center;
}

.next-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #1d62f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.next-arrow span {
  margin-bottom: 10px;
  font-weight: 500;
}

.next-arrow img.down-arrow {
  width: 30px;
  transform: rotate(90deg);
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(90deg);
  }
  40% {
    transform: translateY(10px) rotate(90deg);
  }
  60% {
    transform: translateY(5px) rotate(90deg);
  }
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 产品功能部分样式 */
.product-features {
  background-color: #f8f9fa;
}

.features-diagram {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.feature-item {
  flex: 0 0 30%;
}

.feature-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1d62f0;
  margin-bottom: 15px;
}

.feature-box ul {
  padding-left: 20px;
}

.feature-box li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #555;
}

.center-circle {
  flex: 0 0 30%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.inner-circle {
  width: 120px;
  height: 120px;
  background-color: #1d62f0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 20px rgba(29, 98, 240, 0.5);
  z-index: 2;
}

.inner-circle span {
  font-size: 14px;
  line-height: 1.3;
}

.orbiting-items {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: rotate(calc(var(--i) * 60deg)) translateX(120px) rotate(calc(var(--i) * -60deg));
}

.orbit-item span {
  font-size: 12px;
  font-weight: 600;
  color: #1d62f0;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.features-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature-detail {
  flex: 0 0 30%;
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-detail h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1d62f0;
  margin-bottom: 15px;
}

.feature-detail p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* 应用场景部分样式 */
.application-scenarios {
  background-color: #fff;
}

.scenarios-content {
  display: flex;
  align-items: flex-start;
}

.scenarios-tabs {
  flex: 0 0 20%;
  border-right: 1px solid #eee;
  padding-right: 30px;
}

.scenario-tab {
  position: relative;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.scenario-tab:hover {
  color: #1d62f0;
  background-color: rgba(29, 98, 240, 0.05);
}

.scenario-tab.active {
  color: #1d62f0;
  background-color: rgba(29, 98, 240, 0.1);
  border-color: #1d62f0;
}

.scenario-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  right: -31px;
  width: 2px;
  height: 100%;
  background-color: #1d62f0;
}

.scenario-details {
  flex: 0 0 75%;
  margin-left: 5%;
}

.scenario-detail {
  display: none;
}

.scenario-detail.active {
  display: flex;
  animation: fadeIn 0.5s ease-out;
}

.scenario-image {
  flex: 0 0 45%;
  margin-right: 5%;
}

.scenario-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.scenario-info {
  flex: 0 0 50%;
}

.scenario-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.scenario-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.scenario-info .btn {
  margin-top: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 产品优势部分样式 */
.product-advantages {
  background-color: #f8f9fa;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.advantage-card {
  background-image: url('/SmartContractPro/images/nybg2.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease;
}

.advantage-card h3, .advantage-card p {
  position: relative;
  z-index: 2;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(29, 98, 240, 0.2);
  background-image: url('/SmartContractPro/images/nybg1.jpg');
  color: #fff;
}

.advantage-card:hover::before {
  background-color: rgba(29, 98, 240, 0.3);
}

.advantage-card:hover h3 {
  color: #fff;
}

.advantage-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.advantage-icon {
  display: none; /* 隐藏图标 */
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  transition: all 0.3s ease;
}

/* 相关推荐部分样式 */
.related-recommendations {
  background-color: #fff;
  padding: 80px 0;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.recommendation-card {
  background-color: #e7effc;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 120px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  background-image: url('/SmartContractPro/images/nybg3.jpg');
  background-size: cover;
  background-position: center;
}

.recommendation-content {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  position: relative;
}

.recommendation-icon {
  flex: 0 0 auto;
  margin-right: 15px;
}

.recommendation-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.recommendation-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin: 0;
  flex: 1;
}

.arrow-icon {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00c1b4;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.arrow-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.recommendation-card:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* 响应式样式调整 */
@media (max-width: 992px) {
  .recommendations-grid {
    gap: 15px;
  }
  
  .recommendation-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .recommendation-card {
    height: 100px;
  }
}

/* 移动端菜单样式增强 */
.nav-menu.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 20px 0;
  max-height: 80vh;
  overflow-y: auto;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .intro-content {
    flex-direction: column;
  }
  
  .intro-text, .intro-image {
    flex: 0 0 100%;
    padding-right: 0;
  }
  
  .intro-image {
    margin-top: 40px;
  }
  
  .features-diagram {
    flex-direction: column;
  }
  
  .feature-item, .center-circle {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .features-details {
    flex-direction: column;
  }
  
  .feature-detail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
  
  .scenarios-content {
    flex-direction: column;
  }
  
  .scenarios-tabs {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 增强移动端滚动体验 */
  }
  
  .scenario-tab {
    white-space: nowrap;
    margin-right: 10px;
    margin-bottom: 0;
    flex-shrink: 0; /* 防止标签被压缩 */
  }
  
  .scenario-tab.active::before {
    display: none;
  }
  
  .scenario-details {
    flex: 0 0 100%;
    margin-left: 0;
  }
  
  .scenario-detail.active {
    flex-direction: column;
  }
  
  .scenario-image, .scenario-info {
    flex: 0 0 100%;
    margin-right: 0;
  }
  
  .scenario-image {
    margin-bottom: 20px;
  }
  
  .advantages-grid, .recommendations-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-side-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 30px;
  }
  
  .feature-side-card h3 {
    margin: -20px -20px 15px -20px;
    border-radius: 10px 10px 0 0;
  }
  
  .center-element {
    order: 1;
    margin: 30px 0;
    height: 400px;
  }
}

@media (max-width: 576px) {
  .service-banner {
    height: 350px;
  }
  
  .service-banner h1 {
    font-size: 30px;
  }
  
  .intro-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  /* 修复首行缩进溢出问题 */
  .intro-text {
    padding: 0 15px;
  }
  
  /* 防止轨道图标溢出 */
  .orbiting-items {
    transform: scale(0.8);
  }
  
  /* 优化移动端卡片间距 */
  .advantages-grid, .recommendations-grid {
    gap: 20px;
  }
  
  .advantage-card, .recommendation-card {
    padding: 20px;
  }
}

/* 新版产品功能部分样式 */
.features-diagram-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  padding: 20px 0;
}

/* 左右两侧卡片样式 - 更精致小巧 */
.feature-side-card {
  flex: 0 0 25%;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  width: 210px;
  max-width: 210px;
  margin: 0 15px;
  border: 1px solid rgba(29, 98, 240, 0.1);
  height: 180px; /* 固定高度 */
  display: flex;
  flex-direction: column;
}

.feature-side-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: rgba(29, 98, 240, 0.2);
}

.feature-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-side-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: -20px -20px 15px -20px;
  text-align: center;
  position: relative;
  padding: 12px 0;
  background-color: #1d62f0;
  border-radius: 10px 10px 0 0;
}

.feature-side-card h3:after {
  display: none;
}

.feature-side-card ul {
  padding-left: 5px;
  list-style-type: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-side-card li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.feature-side-card li:before {
  content: '•';
  color: #1d62f0;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* 确保左右卡片一致 */
.left-card, .right-card {
  height: 250px;
}

/* 连接箭头样式 */
.connecting-arrow {
  position: absolute;
  width: 50px;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.right-arrow {
  right: -130px;
}

.left-arrow {
  left: -130px;
}

/* 中间元素样式 */
.center-element {
  flex: 0 0 40%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.orbit-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 轨道路径 - 完美的圆形 */
.orbit-path {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(29, 98, 240, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 30s linear infinite;
}

/* 中心球体 */
.center-main-ball {
  position: absolute;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d1b2, #1d62f0);
  box-shadow: 0 5px 20px rgba(29, 98, 240, 0.3);
}

.main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.center-text {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none; /* 隐藏中心文字 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.center-text span {
  font-size: 14px;
  line-height: 1.4;
}

/* 旋转的球 - 平面旋转 */
.orbiting-balls {
  position: absolute;
  width: 360px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 20s linear infinite;
  animation-play-state: running;
}

.orbit-ball {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #1d62f0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2), 0 0 20px rgba(29, 98, 240, 0.8);
  margin: -35px; /* 补偿更大的球体大小 */
}

/* 使用数学方法均匀分布6个球 - 圆周均匀分布 */
.orbit-ball:nth-child(1) {
  top: 0%;
  left: 50%;
  transform-origin: center 170px;
}

.orbit-ball:nth-child(2) {
  top: 25%;
  left: 93.3%;
  transform-origin: -147.2px 85px;
}

.orbit-ball:nth-child(3) {
  top: 75%;
  left: 93.3%;
  transform-origin: -147.2px -85px;
}

.orbit-ball:nth-child(4) {
  top: 100%;
  left: 50%;
  transform-origin: center -170px;
}

.orbit-ball:nth-child(5) {
  top: 75%;
  left: 6.7%;
  transform-origin: 147.2px -85px;
}

.orbit-ball:nth-child(6) {
  top: 25%;
  left: 6.7%;
  transform-origin: 147.2px 85px;
}

.orbit-ball span {
  white-space: normal;
  width: auto;
  display: block;
  line-height: 1.2;
  font-size: 13px;
  text-align: center;
  animation: counter-spin 20s linear infinite;
}

/* 添加逆向旋转动画保持文字方向始终朝上 */
@keyframes counter-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 底部卡片样式 */
.features-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 80px;
}

.feature-card {
  flex: 1;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background-color: #f8f9ff;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1d62f0;
  margin-bottom: 15px;
  text-align: center;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* 卡片间箭头 - 使用CSS箭头而不是图片 */
.feature-card {
  padding-right: 40px;
}

.feature-card:last-child {
  padding-right: 25px;
}

.feature-card:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #1d62f0;
  z-index: 2;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .features-diagram-new {
    flex-direction: column;
    gap: 40px;
  }
  
  .feature-side-card {
    flex: 0 0 100%;
    width: 210px;
    max-width: 210px;
    margin: 0 auto 30px;
    height: 180px;
  }
  
  .feature-side-card h3 {
    margin: -20px -20px 15px -20px;
    border-radius: 10px 10px 0 0;
  }
  
  .left-card, .right-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
  }
  
  .connecting-arrow {
    position: relative;
    transform: rotate(90deg);
    margin: 20px 0;
    top: auto;
    left: auto;
    right: auto;
  }
  
  .left-arrow {
    transform: rotate(90deg);
  }
  
  .center-element {
    order: 1;
    margin: 30px 0;
    height: 400px;
  }
  
  .left-card {
    order: 0;
  }
  
  .right-card {
    order: 2;
  }
  
  .features-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
    padding-right: 25px;
  }
  
  .feature-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

@media (max-width: 576px) {
  .orbit-ball {
    width: 52px;
    height: 52px;
    font-size: 10px;
    margin: -26px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2), 0 0 15px rgba(29, 98, 240, 0.8);
    transform-origin: 120px;
  }
  
  .orbit-ball span {
    font-size: 10px;
    line-height: 1.1;
  }
  
  .orbit-ball:nth-child(1) {
    transform-origin: center 120px;
  }
  
  .orbit-ball:nth-child(2) {
    transform-origin: -104px 60px;
  }
  
  .orbit-ball:nth-child(3) {
    transform-origin: -104px -60px;
  }
  
  .orbit-ball:nth-child(4) {
    transform-origin: center -120px;
  }
  
  .orbit-ball:nth-child(5) {
    transform-origin: 104px -60px;
  }
  
  .orbit-ball:nth-child(6) {
    transform-origin: 104px 60px;
  }
} 