:root {
  --primary-color: #6b8e9e;
  --secondary-color: #b4ccb9;
  --dark-color: #2f4858;
  --light-color: #f5f7f8;
  --accent-color: #d1a788;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

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

/* Navigation */
nav {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  background: var(--light-color);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  display: block;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background: var(--light-color);
  border: 1px solid rgba(107, 142, 158, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 160px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 8px 0;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
  }

  .menu-btn {
    display: block;
    cursor: pointer;
    padding: 8px;
  }

  .menu-btn.active i {
    transform: rotate(90deg);
  }

  .nav-links .lang-switch {
    margin: 0;
    width: auto;
    padding: 5px 15px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-info h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-info p {
  line-height: 1.6;
  opacity: 0.9;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-contact a:hover {
  opacity: 1;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  font-size: 1.5rem;
  margin-right: 15px;
}

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

.footer-copy {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-links {
  font-size: 0.9rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.separator {
  margin: 0 10px;
  opacity: 0.5;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    text-align: center;
  }

  .footer-info,
  .footer-contact {
    text-align: center;
  }
}

/* Tooltip Styles */
.tooltip-trigger {
  position: relative;
}

.tooltip-trigger::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tooltip-trigger::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary-color);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.tooltip-trigger.show-tooltip::after,
.tooltip-trigger.show-tooltip::before {
  visibility: visible;
  opacity: 1;
}

/* Language Switch Styles */
.lang-switch {
  display: none;
}

.social-cn {
  display: none;
}

/* 当语言为中文时显示微信和微博 */
html[lang="zh"] .social-cn {
  display: block;
}

html[lang="zh"] .social-en {
  display: none;
}

/* 当语言为英文时显示 Twitter 和 Facebook */
html[lang="en"] .social-cn {
  display: none;
}

html[lang="en"] .social-en {
  display: block;
}

.coming-soon {
  display: block;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  margin-top: 12px;
  font-weight: normal;
  opacity: 0.9;
  position: relative;
  font-style: italic;
}

/* 在移动端保持样式一致 */
@media (max-width: 768px) {
  .coming-soon {
    margin-top: 12px;
  }
}
