/* 智能合同页面样式 */
/* 基础样式继承自 style.css */

.contracts-page {
  background-color: #f9f9f9;
}

/* 左侧固定进度条样式 */
.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; /* 在小屏幕上隐藏进度条 */
  }
}

/* Banner部分 */
.contract-banner {
  position: relative;
  height: 480px;
  width: 100%;
  background: url('/SmartContractPro/images/nybanner2.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contract-banner .banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contract-banner h1 {
  color: #000;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
}

.contract-banner .free-trial-btn {
  padding: 10px 35px;
  font-size: 18px;
  background-color: #00c2b3;
  color: #fff;
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contract-banner .free-trial-btn:hover {
  background-color: #00a99d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 169, 157, 0.3);
}

/* 产品介绍导航 */
.product-nav {
  background-color: #fff;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
}

.nav-tab {
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: all 0.3s;
}

.nav-tab:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0078ff;
  opacity: 0;
  transition: all 0.3s;
}

.nav-tab.active {
  color: #0078ff;
  font-weight: 500;
}

.nav-tab.active:after {
  opacity: 1;
}

.nav-tab:hover {
  color: #0078ff;
}

/* 通用版块样式 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 合同管理智能化 */
.contract-intro {
  background-color: #f8f9fa;
}

.intro-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}

.intro-text {
  flex: 1;
}

.intro-title {
  font-size: 32px;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
  text-align: left;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  text-indent: 2em;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.intro-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.next-section {
  margin-top: 40px;
}

.next-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0078ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.next-arrow:hover {
  gap: 12px;
}

.next-arrow img {
  width: 18px;
  height: 18px;
  transition: all 0.3s;
}

/* 产品功能 */
.contract-features {
  background-color: #fff;
  padding: 80px 0;
}

/* 图标部分 */
.features-icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 20px;
}

.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 220px;
  margin: 0 15px;
}

.feature-icon-img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon-img img {
  max-width: 100%;
  max-height: 100%;
}

.feature-icon-title {
  font-size: 18px;
  font-weight: 500;
  color: #007bff;
  text-align: center;
  padding: 10px 25px;
  background-color: #e6f7ff;
  position: relative;
  min-width: 160px;
  transform: none;
  border-radius: 8px;
  border: none;
  white-space: nowrap;
  overflow: visible;
  width: auto;
  display: inline-block;
  z-index: 1;
}

.feature-icon-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: skewX(-15deg);
  border-radius: 8px;
  background: linear-gradient(to bottom, #007bff, #00c2b3);
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 3px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: -1;
}

.feature-icon-title span {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transform: none;
}

/* 流程卡片部分 */
.features-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 60px;
}

.feature-card {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  min-height: 130px;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 5px;
}

.blue-card {
  background-color: #1890ff;
  color: white;
}

.green-card {
  background-color: #00c2b3;
  color: white;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.feature-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
}

.feature-arrow img {
  width: 40px;
  height: auto;
}

/* 应用场景 */
.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);
}

/* 底部财务支持区域 */
.financial-support {
  padding: 80px 0;
  position: relative;
}

.financial-support-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.financial-support-left,
.financial-support-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.financial-support-center {
  flex: 2;
  text-align: center;
  color: #fff;
}

.financial-support-center h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
}

.financial-support-center h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

.left-ball,
.right-ball {
  max-width: 150px;
  animation: float 3s ease-in-out infinite alternate;
}

.right-ball {
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* 响应式样式 */
@media (max-width: 992px) {
  .recommendations-grid {
    gap: 15px;
  }
  
  .recommendation-title {
    font-size: 16px;
  }
  
  .intro-content {
    flex-direction: column;
  }
  
  .intro-text, .intro-image {
    flex: 0 0 100%;
    padding-right: 0;
  }
  
  .intro-image {
    margin-top: 40px;
  }
  
  .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 {
    grid-template-columns: 1fr;
  }
  
  .features-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .feature-icon-item {
    margin-bottom: 30px;
    min-width: 45%;
  }
  
  .features-flow {
    flex-direction: column;
  }
  
  .feature-card {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
  }
  
  .feature-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

@media (max-width: 768px) {
  .page-progress-container {
    display: none;
  }
  
  .contract-banner {
    height: 350px;
  }
  
  .contract-banner h1 {
    font-size: 36px;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .recommendations-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .recommendation-card {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .contract-banner h1 {
    font-size: 30px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .recommendation-content {
    flex-direction: column;
    text-align: center;
  }
  
  .recommendation-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .arrow-icon {
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .feature-icon-item {
    min-width: 100%;
  }
} 