:root {
  --primary: #0066ff;
  --primary-dark: #0039cb;
  --primary-blue: #1a3a8f;
  --secondary: #00a1ff;
  --accent: #ff6b00;
  --dark: #1a1d26;
  --light: #ffffff;
  --gray: #f5f7fa;
  --text: #4a4a4a;
  --border: #e2e8f0;
  --primary-light: rgba(0, 102, 255, 0.1);
  --success: #00c853;
  --success-light: rgba(0, 200, 83, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei";
}

body {
  font-family: "Microsoft YaHei";
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav-item {
  position: relative;
  margin: 0 15px;
  text-transform: uppercase;
}

.desktop-nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.desktop-nav-link:hover {
  color: var(--primary);
}

.desktop-nav-link .arrow {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s;
}

/* 二级下拉菜单 */
.desktop-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: white;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 10px 0;
}

.desktop-nav-item:hover .desktop-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.desktop-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.2s;
}

.desktop-dropdown-item:hover {
  background: var(--gray);
  color: var(--primary);
  padding-left: 25px;
}

.auth-buttons {
  display: flex;
  align-items: center;
  text-transform: uppercase;
}
.auth-buttons a {
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.login-btn {
  background: transparent;
  border: 1px solid #ddd;
  color: var(--dark);
  box-sizing: border-box;
}

.signup-btn {
  display: inline-block;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

.auth-buttons a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.language-selector {
  font-size: 12px;
  margin-left: 10px;
  position: relative;
}
.language-trigger {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 20px;
}
.language-trigger span {
  font-size: 12px;
  margin-right: 5px;
}
.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  width: 80px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  padding: 10px 0;
}
.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-option {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  cursor: pointer;
  transition: var(--transition);
}
.language-option:hover {
  background: rgba(31, 115, 255, 0.05);
  color: var(--primary-blue);
}
.language-option a {
  color: inherit;
  font-size: 12px;
}
/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
  z-index: 1001;
}

/* 移动端导航菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--light);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding-top: 80px;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}
.mobile-nav .auth-buttons {
  flex-direction: column;
  width: 80%;
  margin: 30px auto 0;
  text-align: center;
}
.mobile-nav .auth-buttons a {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
}

/* 移动端导航项 */
.mobile-nav-item {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  display: block;
  padding: 15px 0;
  font-size: 18px;
  text-decoration: none;
  color: var(--dark);
  position: relative;
}

.mobile-nav-link i {
  position: absolute;
  top: calc(50% - 9px);
  right: 20px;
  transition: transform 0.3s;
}

.mobile-nav-item.active .mobile-nav-link i {
  transform: rotate(180deg);
}

/* 移动端二级菜单 */
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: rgba(0, 0, 0, 0.03);
  width: 100%;
}

.mobile-nav-item.active .mobile-dropdown-menu {
  max-height: 500px;
}

.mobile-dropdown-item {
  display: block;
  padding: 12px 0;
  color: var(--dark);
  text-decoration: none;
  font-size: 16px;
}

.mobile-dropdown-item:hover {
  color: var(--primary);
}

.mobile-auth-buttons {
  flex-direction: column;
  width: 80%;
  margin-top: 30px;
}

.mobile-auth-buttons button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
}

.section-content {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-title h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  font-size: 18px;
  max-width: 1000px;
  margin: 0 auto;
  color: #666;
}

.section-title span {
  color: var(--primary);
  background: #0066ff1a;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
  display: inline-block;
}

.highlight {
  color: var(--primary-dark);
  font-weight: 500;
}
.highlight-bg {
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  background: rgba(41, 98, 255, 0.1);
}

.fin-resources {
  background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.fin-resources__content {
  background-color: var(--light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fin-resources__image {
  height: 240px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fin-resources__image-icon {
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.15);
  position: absolute;
  right: 2rem;
  bottom: -1rem;
}

.fin-resources__image-text {
  color: var(--light);
  font-size: 2rem;
  font-weight: 700;
  z-index: 2;
  max-width: 600px;
  padding: 0 2rem;
  text-align: center;
}

.fin-resources__details {
  padding: 2.5rem;
}

.fin-resources__description {
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.fin-resources__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.fin-resources__stat-item {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fin-resources__stat-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fin-resources__stat-text {
  font-weight: 500;
}

.fin-resources__stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.fin-resources__stat-label {
  font-size: 0.875rem;
  color: var(--text);
}

.pagination {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  color: var(--text);
  cursor: no-drop;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* .page-number:hover, */
.page-number.active {
  background-color: var(--primary);
  color: var(--light);
}

/* 页脚样式 */
.site-footer {
  background-color: #f8f9fa;
  color: #333;
  padding: 60px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column {
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0066ff;
}
.contact-column {
  grid-column: span 2;
}
.contact-column address {
  font-style: normal;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.contact-column address a {
  text-transform: none;
}
.contact-info {
  line-height: 2;
}
.contact-info p {
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #666;
  font-size: 18px;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #0066ff;
}

.footer-bottom {
  border-top: 1px solid #e1e1e1;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  gap: 12px;
}

.legal-links {
  display: flex;
  gap: 15px;
}

.legal-links a {
  color: #666;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.copyright,
.regulatory-info {
  color: #666;
  font-size: 13px;
}

.iso_card {
  display: inline-flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  line-height: 1;
  font-size: 12px;
  text-align: left;
}
.iso_card img {
  height: 32px;
}
.iso_card .ml-2 {
  margin-left: 4px;
}
/* 响应式设计 */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }
  .mobile-nav .language-selector {
    position: absolute;
    top: 20px;
    font-size: 16px;
  }
  .mobile-nav .language-trigger {
    gap: 10px;
  }
  .mobile-nav .language-trigger a {
    text-decoration: none;
    color: var(--text);
  }
  .mobile-nav .language-trigger a.active {
    color: var(--primary);
  }
  .container {
    max-width: 100%;
  }
  .section-content {
    padding: 40px 0;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .section-title h2 {
    font-size: 1.5rem;
  }
  .section-title p {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .fin-resources__details {
    padding: 1.5rem;
  }

  .fin-resources__stats {
    grid-template-columns: 1fr;
  }

  .fin-resources__image-text {
    font-size: 1.5rem;
  }

  .fin-resources__image-icon {
    font-size: 4rem;
  }
  .fin-resources__image {
    height: 160px;
  }
}
