/* 主色调定义 */
:root {
  --primary-dark: #0a1a35;
  --primary-blue: #1a3a8f;
  --accent-cyan: #00f0ff;
  --pure-white: #ffffff;
  --light-gray: #f5f7fa;
  --card-blue: #2a3f8f;
  --card-light-blue: #3a5faf;
}

/* Hero部分样式 */
.fintech-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: var(--pure-white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.fintech-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 20%),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==");
  opacity: 0.8;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--pure-white), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 80%;
}

.hero-features {
  display: flex;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.feature-item i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.hero-image {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.dashboard-preview {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-10deg);
  transition: transform 0.5s ease;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.8), rgba(10, 26, 53, 0.9));
  z-index: 1;
}

.dashboard-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  height: 300px;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-title {
  color: var(--pure-white);
  font-size: 16px;
  font-weight: 600;
}

.dashboard-controls {
  display: flex;
  gap: 10px;
}

.control-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.control-btn.active {
  background: var(--accent-cyan);
}

.dashboard-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 8px;
}

.stat-value {
  color: var(--pure-white);
  font-size: 18px;
  font-weight: 600;
}

.stat-change {
  font-size: 10px;
  margin-top: 4px;
}

.stat-change.positive {
  color: #00e676;
}

.stat-change.negative {
  color: #ff5252;
}

.dashboard-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 30px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.chart-line:nth-child(2) {
  bottom: 80px;
}

.chart-line:nth-child(3) {
  bottom: 130px;
}

.chart-bars {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-cyan), rgba(0, 240, 255, 0.5));
  border-radius: 3px 3px 0 0;
  min-height: 5px;
  position: relative;
}

.chart-bar:nth-child(1) {
  height: 30%;
}
.chart-bar:nth-child(2) {
  height: 60%;
}
.chart-bar:nth-child(3) {
  height: 45%;
}
.chart-bar:nth-child(4) {
  height: 80%;
}
.chart-bar:nth-child(5) {
  height: 65%;
}
.chart-bar:nth-child(6) {
  height: 40%;
}

.chart-labels {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
}

.chart-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  width: calc(100% / 6);
  text-align: center;
}

.card-floating {
  position: absolute;
  bottom: -30px;
  right: 50px;
  width: 280px;
  height: 180px;
  background: linear-gradient(135deg, var(--card-blue), var(--card-light-blue));
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transform: rotate(10deg) translateY(0);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.card-floating::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==");
  border-radius: 12px;
  opacity: 0.5;
}

.card-logo {
  align-self: flex-end;
  color: white;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #ffd700, #c0c0c0);
  border-radius: 4px;
  position: relative;
}

.card-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 4px;
}

.card-number {
  color: white;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
  font-size: 16px;
  margin: 10px 0;
  position: relative;
}

.card-details {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 12px;
  position: relative;
}

.card-details span:first-child {
  text-transform: uppercase;
}

@keyframes float {
  0% {
    transform: rotate(10deg) translateY(0px);
  }
  50% {
    transform: rotate(10deg) translateY(-15px);
  }
  100% {
    transform: rotate(10deg) translateY(0px);
  }
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.solution-card {
  background: var(--pure-white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(10, 26, 53, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(10, 26, 53, 0.15);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-desc {
  font-size: 16px;
  color: var(--primary-dark);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-features {
  list-style-type: none;
  padding-left: 0;
}

.card-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--primary-dark);
  opacity: 0.9;
}

.card-feature::before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: bold;
  margin-right: 8px;
}
/* 功能区块 - 非卡片设计 */
.expense-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.expense-feature {
  padding: 2rem;
  background: white;
  border-top: 3px solid var(--primary);
  transition: transform 0.3s ease;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.expense-feature:hover {
  transform: translateY(-0.5rem);
}
.expense-feature-title {
  color: var(--aw-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.expense-feature-desc {
  color: var(--aw-light-text);
  line-height: 1.6;
}
/* 完全独立的样式命名空间 */
.aia-section {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  position: relative;
  overflow: hidden;
}
.aia-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLCAyNDAsIDI1NSwgMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybikiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiLz48L3N2Zz4=");
  z-index: 0;
}
/* 时间轴式布局 */
.aia-feature-list {
  position: relative;
  padding-left: 120px;
}
.aia-feature-list::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00f0ff, #1a3a8f);
}
.aia-feature-item {
  position: relative;
  padding: 30px 0;
  display: flex;
  align-items: flex-start;
}
.aia-feature-index {
  position: absolute;
  left: -100px;
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #1a3a8f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--primary);
}

.aia-feature-content {
  flex: 1;
  padding-left: 40px;
}

.aia-feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #0a1a35;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.aia-feature-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.aia-feature-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #5a6d8a;
}

/* 特性列表 - 不使用卡片 */
.platform-features {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.platform-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #e2e8f0;
}

.platform-item:last-child {
  border-bottom: none;
}

.platform-item-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #e0e7ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  font-size: 24px;
}

.platform-item-content {
  flex: 1;
}

.platform-item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e293b;
}

.platform-item-description {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}
/* 主容器 */
.business-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* 左侧内容区 */
.content-left {
  flex: 1;
  min-width: 0; /* 防止flexbox溢出 */
}

.business-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.business-description {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 特性列表 */
.business-feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.business-feature-item {
  display: flex;
  gap: 15px;
}

.business-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 12px;
  margin-top: 3px;
}

.business-feature-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.business-feature-content p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 右侧图片区 */
.image-right {
  flex: 1;
  position: relative;
  min-width: 0; /* 防止flexbox溢出 */
}

.dashboard-image {
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(10, 26, 53, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-floating {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 240px;
  height: 150px;
  background: linear-gradient(135deg, #2a3f8f, #3a5faf);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-chip {
  width: 30px;
  height: 22px;
  background: linear-gradient(135deg, #ffd700, #c0c0c0);
  border-radius: 4px;
  position: relative;
}

.card-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 4px;
}

.card-logo {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.card-number {
  color: white;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  font-size: 14px;
  margin: 10px 0;
}

.card-details {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 10px;
}

/* 特性卡片网格 - 独立样式 */
.ge-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.ge-feature-card {
  background: var(--ge-pure-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(10, 26, 53, 0.05);
  border: 1px solid rgba(10, 26, 53, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ge-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(10, 26, 53, 0.1);
}

.ge-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #4f46e5;
  font-size: 24px;
}

.ge-card-title {
  color: var(--ge-primary-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.ge-card-desc {
  color: rgba(10, 26, 53, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

/* 高亮标记 - 独立样式 */
.ge-highlight {
  color: var(--primary);
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    min-height: 300px;
  }

  .card-floating {
    right: 20px;
    width: 240px;
    height: 150px;
  }
  .solutions-section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .aia-feature-list {
    padding-left: 80px;
  }

  .aia-feature-list::before {
    left: 40px;
  }

  .aia-feature-index {
    left: -80px;
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .aia-feature-content {
    padding-left: 20px;
  }
  .business-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .content-left,
  .image-right {
    width: 100%;
  }

  .business-title {
    font-size: 32px;
  }

  .card-floating {
    right: 20px;
    bottom: -20px;
    width: 200px;
    height: 130px;
  }
}
/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .card-floating {
    width: 200px;
    height: 130px;
    right: 10px;
    padding: 15px;
  }
  .card-number {
    font-size: 14px;
  }
  .solution-card {
    padding: 30px 20px;
  }
  .card-title {
    font-size: 20px;
  }
  .card-desc {
    font-size: 15px;
  }
  .feature-item {
    min-width: 100%;
    padding: 30px 25px;
  }
  .expense-features {
    grid-template-columns: 1fr;
  }
  .aia-feature-list {
    padding-left: 60px;
  }
  .aia-feature-list::before {
    left: 30px;
  }
  .aia-feature-index {
    left: -55px;
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  .aia-feature-title {
    font-size: 20px;
  }
  .platform-item {
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
  }
  .platform-item-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .business-title {
    font-size: 28px;
  }
  .business-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .business-feature-list {
    gap: 20px;
  }
  .business-feature-content h3 {
    font-size: 16px;
  }
  .business-feature-content p {
    font-size: 14px;
  }
  .card-floating {
    width: 160px;
    height: 100px;
    padding: 10px;
  }
  .card-number {
    font-size: 12px;
    margin: 5px 0;
  }
  .image-right {
    order: 1;
  }
  .ge-features-grid {
    grid-template-columns: 1fr;
  }
  .ge-feature-card {
    padding: 25px;
  }
}
