:root {
  --primary-color: #2c7be5;
  --text-color: #1e2022;
  --bg-color: #f9fbfd;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1a68d1 0%, #0d3b7c 100%);
  color: white;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  background-color: #00d97e;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 126, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 217, 126, 0.4);
  background-color: #00f58a;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  margin-bottom: 3rem;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  border: 1px solid #dee2e6;
  text-align: left;
}

.pricing-table th {
  background-color: var(--primary-color);
  color: white;
}

.faq {
  margin-top: 3rem;
}

.faq h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.faq p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-link {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text-color);
}

.nav-link.login {
  color: var(--primary-color);
  font-weight: bold;
}

.language-switcher {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.language-list {
  list-style: none;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding: 0;
  max-width: 300px;
}

.language-list li {
  margin: 0;
  flex: 0 0 auto;
}

.language-list a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: block;
}

.language-list a:hover {
  background-color: rgba(44, 123, 229, 0.1);
}

.language-list a.active {
  font-weight: bold;
  color: var(--primary-color);
  background-color: rgba(44, 123, 229, 0.1);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer {
  background-color: #1e2022;
  color: white;
  padding: 4rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.footer-links {
  list-style: none;
}

.footer-link {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer a {
  color: #fafafa;
  text-decoration: underline;
}

/* 增加缺失的footer样式 */
.footer-section {
  margin-bottom: 1rem;
}

.footer-security-item {
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .language-switcher {
    position: relative;
  }

  .language-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: none;
    z-index: 1001;
    max-width: none;
    width: auto;
  }

  .language-list li {
    margin-bottom: 5px;
  }

  .language-switcher:hover .language-list {
    display: block;
  }

  .language-switcher::after {
    content: "Language ▼";
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  html[lang="zh-Hans"] .language-switcher::after {
    content: "语言 ▼";
  }

  html[lang="zh-Hant"] .language-switcher::after {
    content: "語言 ▼";
  }

  html[lang="ja"] .language-switcher::after {
    content: "言語 ▼";
  }

  html[lang="ko"] .language-switcher::after {
    content: "언어 ▼";
  }

  html[lang="pt-BR"] .language-switcher::after {
    content: "Idioma ▼";
  }

  .language-switcher:hover::after {
    background-color: rgba(44, 123, 229, 0.1);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding: 0.5rem;
  }

  nav {
    flex-direction: column;
    width: 100%;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 150px;
  }

  .language-switcher {
    margin: 0.5rem 0;
    width: 100%;
    background-color: rgba(44, 123, 229, 0.05);
    border-radius: 6px;
    padding: 6px;
  }

  .language-list {
    justify-content: center;
    max-width: 100%;
    gap: 8px;
    padding: 5px;
  }

  .language-switcher::after {
    display: none;
  }

  .language-list li {
    margin-bottom: 5px;
  }

  .language-list a {
    font-size: 0.8rem;
    padding: 3px 7px;
  }

  .nav-link {
    margin-left: 0;
    text-align: center;
    padding: 0.5rem;
    display: block;
    width: 100%;
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    background-color: rgba(44, 123, 229, 0.1);
  }
}