/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2563eb;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-actions {
  display: none;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3e%3c/svg%3e");
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1001;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1rem;
}

.mobile-nav-link {
  text-decoration: none;
  color: #6b7280;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.mobile-nav-link:hover {
  color: #2563eb;
}

.mobile-download-btn {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-large {
  height: 3rem;
  padding: 0 2rem;
  font-weight: 500;
}

.btn-full {
  width: 100%;
}

.download-icon,
.windows-icon {
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 3rem 0 6rem;
  background: linear-gradient(to bottom, #fff, #bfdbfe);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: url("public/images/bg.svg");
  background-repeat: repeat-x;
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.image-container {
  position: relative;
}

.hero-screenshot {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid #fff;
}

.hot-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background-color: #f97316;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  order: 1;
}

.brand-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-features p {
  font-size: 1rem;
  color: #374151;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.version-info {
  font-size: 0.875rem;
  color: #6b7280;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-link {
  font-size: 0.875rem;
  color: #2563eb;
  text-decoration: none;
}

.hero-link:hover {
  text-decoration: underline;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-btn svg {
  color: #1f2937;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: #2563eb;
  transform: scale(1.1);
}

/* Mobile carousel adjustments */
@media (max-width: 768px) {
  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Features Section */
.features {
  padding: 3rem 0 6rem;
  background-color: #f9fafb;
}

.features-header {
  text-align: center;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tag {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

.tag-orange {
  background-color: #fed7aa;
  color: #ea580c;
}

.tag-blue {
  background-color: #dbeafe;
  color: #2563eb;
}

.tag-text {
  color: #6b7280;
  font-size: 0.875rem;
}

.tag-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
}

.tag-link:hover {
  text-decoration: underline;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-title.white {
  color: #fff;
}

.section-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-description.white {
  color: #d1d5db;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 5rem;
  height: 5rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}

.feature-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.feature-tag {
  font-size: 0.75rem;
  background-color: #eff6ff;
  color: #2563eb;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Comparison Table */
.comparison-table {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #1f2937;
  margin-bottom: 2rem;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.comparison th {
  font-weight: 600;
  color: #374151;
}

.comparison th.highlight {
  color: #2563eb;
}

.comparison td.success {
  color: #059669;
}

.comparison td.warning {
  color: #d97706;
}

.comparison td.error {
  color: #dc2626;
}

/* Main Features Section */
.main-features {
  padding: 3rem 0 6rem;
  background-color: #1f2937;
  color: #fff;
}

.main-features-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.main-feature-card {
  background-color: #374151;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: background-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.main-feature-card:hover {
  background-color: #4b5563;
}

.main-feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.main-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.main-feature-description {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* Technical Advantages */
.tech-advantages {
  text-align: center;
}

.tech-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.tech-grid {
  display: grid;
  gap: 2rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-icon {
  width: 4rem;
  height: 4rem;
  background-color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
}

.tech-item-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.tech-item-description {
  font-size: 1rem;
  color: #d1d5db;
}

/* Clients Section */
.clients {
  padding: 3rem 0 6rem;
  background-color: #f3f4f6;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.client-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.client-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.client-name {
  font-size: 1rem;
  color: #6b7280;
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid #e5e7eb;
  background-color: #1f2937;
  color: #fff;
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

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

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-image {
    order: 1;
  }

  .hero-content {
    order: 2;
  }

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

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

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0 8rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  transform: scale(1.05);
}

.customer-service-btn {
  background-color: #2563eb;
}

.customer-service-btn:hover {
  background-color: #1d4ed8;
}

.group-btn {
  background-color: #059669;
}

.group-btn:hover {
  background-color: #047857;
}

.btn-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.btn-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.75rem;
  background-color: #1f2937;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-btn:hover .btn-tooltip {
  opacity: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 20rem;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #6b7280;
}

.modal-body {
  text-align: center;
}

.modal-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.qr-container {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: block;
}

.modal-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-buttons {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-btn {
    width: 3rem;
    height: 3rem;
  }

  .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .btn-tooltip {
    display: none;
  }

  .modal-content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }

  .qr-code {
    width: 160px;
    height: 160px;
  }
}

/* Navigation Buttons */
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  color: #6b7280;
}

.nav-btn:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.nav-icon {
  width: 1rem;
  height: 1rem;
}

.login-btn:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

.github-btn:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.weibo-btn:hover {
  background-color: #fef3c7;
  color: #d97706;
}

/* Mobile Navigation Buttons */
.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-nav-btn:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.mobile-nav-btn .nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive adjustments for nav actions */
@media (min-width: 768px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  .nav-actions {
    display: none;
  }
}

/* SEO优化 - 隐藏但对搜索引擎可见的内容 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 面包屑导航样式 */
.breadcrumb {
  display: none; /* 可以根据需要显示 */
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
