:root {
  --primary-color: #635bff;
  --secondary-color: #0a2540;
  --background-color: #fff;
  --text-color: #425466;
  --content-width: 1080px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
}

/* 导航栏样式 */
.main-nav {
  z-index: 2;
  position: fixed;
  width: 100%;
  background: var(--background-color);
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: block;
}

.logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
}

/* 导航栏右侧按钮样式 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-right a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.sign-in {
  color: var(--text-color);
  background: transparent;
  border: 1px solid transparent;
}

.sign-in:hover {
  color: var(--primary-color);
  background: rgba(99, 91, 255, 0.05);
  border-color: rgba(99, 91, 255, 0.1);
}

.contact-sales {
  color: white;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0 2px 6px rgba(99, 91, 255, 0.2);
}

.contact-sales:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
  background: #574cff;
}

.section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 添加标题样式 */
.section-title {
  grid-column: 1 / -1; /* 让标题横跨所有列 */
  text-align: left; /* 改为左对齐 */
  font-size: 18px; /* 改为18px */
  color: var(--primary-color); /* 使用已定义的主色 #635bff */
  font-weight: 600;
}

.payment-method {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.payment-method:hover {
  transform: translateY(-5px);
}

.payment-method svg {
  margin-bottom: 1.5rem;
}

.payment-method h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.payment-method p {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 英雄区块样式 */
.hero {
  position: relative;
  color: white;
  padding: 160px 2rem 0;
  background-image: url('images/home_banner.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  height: 735px;
  overflow: hidden;
}

.hero .hero-decoration {
  transform-origin: 0 100%;
  width: 110%;
  height: 303px;
  position: absolute;
  left: 0px;
  bottom: -300px;
  background-color: white;
  transform: rotateZ(-7deg);
}

.hero-content {
  width: var(--content-width);
  margin: 0 auto;
}

.hero .hero-title {
  width: 600px;
  font-size: 60px;
  line-height: 1;
  margin-bottom: 2rem;
}

.hero .hero-description {
  width: 526px;
  font-size: 18px;
}

/* 按钮样式 */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.primary-btn {
  background: white;
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
}

.secondary-btn {
  background: transparent;
  color: white;
  padding: 0.8rem 1.5rem;
  border: 1px solid white;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* 添加动画关键帧 */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.full-w-section {
  width: 100%;
  padding: 4rem 0;
  background: #f6f9fc;
  text-align: center;
}

/* 客户展示区样式 */
.clients {
  padding: 4rem 0;
  background: #f6f9fc;
  text-align: center;
}

.clients h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.logo-scroll {
  display: flex;
  overflow: hidden;
  padding: 2rem 0;
  justify-content: center;
}

.client-logo {
  height: 50px;
  margin: 0 2rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.client-logo:hover {
  opacity: 1;
}

/* 特性展示区样式 */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  align-items: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.animate {
  animation: floatUp 0.8s ease forwards;
}

.feature-content {
  flex: 1;
  padding: 2rem;
}

.feature-image {
  flex: 1;
  position: relative;
  height: 400px;
}

.floating-elements {
  position: relative;
  height: 100%;
}

.card-element,
.payment-element {
  position: absolute;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-element:hover,
.payment-element:hover {
  transform: translateY(-5px);
}

/* 数据统计区样式 */
.stats {
  background: var(--secondary-color);
  color: white;
  padding: 6rem 2rem;
}

.stat-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* 渐变按钮样式 */
.gradient-btn {
  background: linear-gradient(45deg, var(--primary-color), #7795f8);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 添加交互动画 */
.learn-more {
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.learn-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.learn-more:hover::after {
  width: 100%;
}

/* CTA区域样式 */
.cta-section {
  background: linear-gradient(135deg, #7795f8, #635bff);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
  }

  .stat-container {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-image {
    height: 300px;
  }
}

/* 页脚样式 */
footer {
  background: var(--secondary-color);
  padding: 4rem 0;
  color: #fff;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* 导航栏样式 */
.nav-links li {
  position: relative;
}

.has-submenu .submenu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  z-index: 1000;
}

/* 添加不可见的连接区域 */
.has-submenu::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 999;
}

/* 当鼠标悬停在submenu或透明连接区域时保持一级导航的高亮状态 */
.has-submenu:hover > a {
  color: var(--primary-color);
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
}

.has-submenu.hover > a {
  color: var(--primary-color);
}

.has-submenu.hover .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu-item {
  padding: 0.8rem;
}

.submenu-header {
  margin-bottom: 1rem;
}

.submenu-header h4 {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.submenu-item ul {
  list-style: none;
  padding: 0;
}

.submenu-item ul li {
  margin: 0.8rem 0;
}

.submenu-item ul li a {
  color: var(--text-color);
  font-size: 0.8rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  padding: 0 1rem;
  display: block;
  background: #f8f9fb;
  border-radius: 8px;
  position: relative;
  height: 30px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.submenu-item ul li a:hover {
  background: #f0f1f7;
}

/* 添加箭头 */
.has-submenu .submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.about-us {
  padding: 160px 2rem 4rem;
  background: var(--background-color);
  position: relative;
}

.about-us.partnership {
  padding: 4rem 2rem;
  background: #f6f9fc;
}

.about-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.about-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 800px;
  text-align: left;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.2rem;
  }
}

/* 添加新的 solution1 样式 */
.solution1 {
  padding: 4rem 2rem;
  background-color: #f6f9fc;
  width: 100%;
  text-align: left;
}

.solution1 .content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.solution1 h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.solution1 p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* 添加新的 solution2 样式 */
.solution2 {
  padding: 4rem 2rem;
  background-color: #fff;
  width: 100%;
  text-align: left;
}

.solution2 .content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--content-width);
  margin: 0 auto;
}

.solution2 .text-content {
  flex: 1;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.solution2 .features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: flex-start;
  padding-top: 24px;
}

.solution2 .feature {
  display: flex;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease;
}

.solution2 .feature-image {
  flex: 0 0 120px;
  margin-right: 1rem;
}

.solution2 .feature-content {
  flex: 1;
}

.solution2 h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.solution2 p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.solution2 .feature {
  flex: 1;
  text-align: center;
  transition: transform 0.3s ease;
}

.solution2 .feature:hover {
  transform: translateY(-10px);
}

.solution2 .feature-image {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.solution2 h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.solution2 .feature p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.4;
}

/* 添加新的 solution3 样式 */
.solution3 {
  padding: 4rem 2rem;
  background-color: #f9f9f9; /* 设置背景色 */
  width: 100%;
  text-align: left;
}

.solution3 .content {
  display: block; /* 改为块级布局 */
  max-width: var(--content-width);
  margin: 0 auto;
}

.solution3 .text-content {
  text-align: left; /* 改为左对齐文本 */
  margin-bottom: 2rem;
}

.solution3 .features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 24px 0;
}

.solution3 .feature {
  display: flex;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease;
}

.solution3 .feature:first-of-type {
  flex-direction: row-reverse;
}

.solution3 .feature:nth-child(odd) .feature-content {
  order: 1; /* 确保文字在图片左边 */
}

.solution3 .feature:nth-child(even) .feature-content {
  order: 2; /* 确保文字在图片右边 */
}

.solution3 .feature-image {
  flex: 0 0 120px;
  width: 50%;
}

.solution3 .feature-content {
  flex: 1;
}

.solution3 h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.solution3 .feature p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.4;
}

.feature1 {
  padding: 4rem 2rem;
  background-color: #fff; /* 改为白色 */
  width: 100%;
  text-align: left;
}

.feature1 .content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.feature1 p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.feature2 {
  padding: 4rem 2rem;
  background-color: #f6f9fc; /* 改为 #f6f9fc */
  width: 100%;
  text-align: left;
}

.feature2 .content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.feature2 p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.fx-remittance {
  padding: 4rem 2rem;
  background-color: #fff;
  width: 100%;
  text-align: left;
}

.fx-remittance .content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.fx-remittance .section-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.fx-remittance p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.fx-remittance .decorations {
  display: flex;
  gap: 1rem;
}

.fx-remittance .decoration-image {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container {
  display: flex;
  justify-content: center;
  background-image: url('images/home_banner.jpg');
  background-size: cover;
  background-position: center;
}

.login-box {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-align: left;
}

.login-form .form-group {
  margin-bottom: 0.5rem;
  text-align: left;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.login-form input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.login-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #574cff;
}

.login-footer {
  margin-top: 1rem;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.create-account-button {
  margin-left: 16px;
  margin-top: 1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.create-account-button:hover {
  background-color: var(--primary-color);
  color: white;
}

.login-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 150px; /* 根据需要调整大小 */
  height: auto;
}

.logo-container {
  text-align: center;
  margin-top: 2rem;
}

.login-logo {
  max-width: 150px;
  height: auto;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.cookie-consent p {
  margin: 0;
  padding: 0 1rem;
}

.cookie-consent a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-button {
  background-color: #ffd700;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 1rem;
}

.cookie-button:last-child {
  margin-right: 0;
}
