/* 财税风险页面样式 */

/* Banner部分 */
.risk-banner {
  background-image: url('/SmartContractPro/images/nybanner4.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  position: relative;
}

.risk-banner::before {
  content: none;
}

.risk-banner .banner-content {
  position: relative;
  z-index: 1;
  color: #000;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.risk-banner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

.risk-banner .btn.btn-primary {
  background-color: #00ccc1;
  border-color: #00ccc1;
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.risk-banner .btn.btn-primary:hover {
  background-color: #00b3a9;
  border-color: #00b3a9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 204, 193, 0.3);
}

/* 产品介绍 */
.product-intro .section-title {
  margin-bottom: 30px;
}

.product-intro .section-title.text-left {
  text-align: left;
}

.product-intro .section-title.text-left h2 {
  font-size: 32px;
  font-weight: normal;
  color: #333;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.product-intro .intro-content {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
}

.product-intro .intro-text {
  flex: 1;
}

.product-intro .intro-text p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
  font-size: 16px;
  text-align: justify;
  text-indent: 1em; /* 首行缩进减小一倍，从2em改为1em */
}

.product-intro .intro-image {
  flex: 1.2; /* 增加右侧图片的比例，使其稍微大一点 */
  text-align: center;
}

.product-intro .intro-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.next-section {
  margin-top: 30px;
  text-align: left;
}

.next-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 50px;
  height: 50px;
}

.next-arrow:hover {
  transform: translateY(0);
}

.down-arrow {
  width: 50px;
  height: 50px;
  transform: rotate(90deg); /* 顺时针旋转90度 */
  filter: brightness(0.5); /* 使图标颜色更深 */
  transition: all 0.3s ease;
  animation: verticalMove 2s ease-in-out infinite;
}

@keyframes verticalMove {
  0% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(5px);
  }
  100% {
    transform: rotate(90deg) translateX(0);
  }
}

/* 产品功能 */
.features-circles-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 70px;
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.features-svg {
  width: 100%;
  height: 100%;
  max-width: 900px;
  transform: scale(1.3) translateX(60px);
  position: absolute;
  z-index: 1;
  transform-origin: center center;
}

/* 圆圈内容样式 */
.circle-content {
  position: absolute;
  width: 180px;
  text-align: center;
  z-index: 2;
}

.circle-content-1 {
  left: calc(50% - 300px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.circle-content-2 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.circle-content-3 {
  left: calc(50% + 300px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-container img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.circle-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2196f3; /* 修改为蓝色 */
  text-shadow: none;
}

.circle-content p {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  padding: 0 10px;
  text-shadow: none; /* 确保没有文字阴影 */
}

/* 圆形样式 */
.circle {
  stroke-dasharray: 630; /* 圆周长约为2πr，2π*100 ≈ 630 */
  stroke-dashoffset: 0; /* 设为0表示动画结束状态 */
}

.circle-1 {
  stroke-dasharray: 520; /* 调整大小，适中的缺口 */
  stroke-dashoffset: 0; /* 设为0表示动画结束状态 */
}

.circle-2 {
  stroke-dasharray: 230 84 229 84; /* 使左下角线段长度与第三个圆一致 */
  stroke-dashoffset: 314; /* 保持旋转角度不变 */
}

.circle-3 {
  stroke-dasharray: 230 84 312 0; /* 增加左下角线段长度 */
  stroke-dashoffset: 627; /* 保持旋转角度不变 */
}

/* 圆点样式 */
.circle-dot {
  opacity: 1; /* 设为1表示动画结束状态 */
  transform: scale(1);
}

.dot-1 {
  animation-delay: 1.5s;
}

.dot-2 {
  animation-delay: 2s;
}

.dot-3 {
  animation-delay: 2.5s;
}

.dot-4 {
  animation-delay: 3s;
}

/* 应用场景 */
.scenarios-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.scenario-tab {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  background-color: #f5f5f5;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.scenario-tab.active {
  background-color: #2196f3;
  color: #fff;
}

.scenario-detail {
  display: none;
  align-items: center;
  gap: 50px;
}

.scenario-detail.active {
  display: flex;
}

.scenario-image {
  flex: 1;
  text-align: center;
}

.scenario-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scenario-info {
  flex: 1;
}

.scenario-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.scenario-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 30px;
  background-color: transparent;
  color: #2196f3;
  border: 2px solid #2196f3;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #2196f3;
  color: #fff;
}

/* 产品优势 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: #f5f9ff;
  border-radius: 10px;
}

.advantage-icon img {
  width: 30px;
  height: 30px;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* 相关推荐 */
.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;
  }
}

/* 响应式适配 */
@media (max-width: 992px) {
  .product-intro .intro-content {
    flex-direction: column;
  }
  
  .scenario-detail {
    flex-direction: column;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendations-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .recommendation-card {
    max-width: 100%;
    width: 80%;
  }
  
  .features-circles-container {
    min-height: 250px;
  }
  
  .features-svg {
    transform: scale(0.8);
  }
}

@media (max-width: 768px) {
  .risk-banner {
    height: 300px;
  }
  
  .risk-banner h1 {
    font-size: 36px;
  }
  
  .scenarios-tabs {
    flex-direction: column;
    gap: 10px;
  }
  
  .recommendation-card {
    width: 100%;
  }
  
  .features-circles-container {
    min-height: 200px;
  }
  
  .features-svg {
    transform: scale(0.6);
  }
}

/* 左侧进度条样式 */
.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; /* 在小屏幕上隐藏进度条 */
  }
}

/* 产品介绍导航 */
.product-nav {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
}

.nav-tab {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #1d62f0;
  transition: all 0.3s ease;
}

.nav-tab:hover,
.nav-tab.active {
  color: #1d62f0;
}

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