:root {
  --primary-color: #047857;
  --secondary-color: #0D9488;
  --accent-color: #065F46;
  --text-color: #1F2937;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --bg-color: #fff;
  --bg-light: #F3F4F6;
  --bg-dark: #ECFDF5;
  --border-color: #E5E7EB;
  --border-radius: 10px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text-color); line-height: 1.65; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2.3rem; margin-bottom: 14px; position: relative; display: inline-block;
}
.section-header h2:after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--primary-color); border-radius: 3px;
}
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 700px; margin: 18px auto 0; }

header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: 80px;
}
.header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(236,253,245,.97) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(4,120,87,.12); z-index: -1;
}
nav.container {
  display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 12px;
}
.logo-container { position: relative; display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: 40px; border-radius: 10px; position: relative; z-index: 2; }
.logo-glow {
  position: absolute; inset: -6px; border-radius: 14px;
  background: radial-gradient(circle, rgba(4,120,87,.22) 0%, transparent 70%);
  filter: blur(6px); z-index: 1;
}
.logo-name { font-weight: 800; font-size: 1.15rem; color: var(--primary-color); }

.nav-menu { margin-left: auto; margin-right: 12px; }
.menu-items { display: flex; gap: 2px; }
.menu-link {
  padding: 10px 12px; font-weight: 500; font-size: .95rem; color: var(--text-color);
  position: relative; transition: var(--transition);
}
.menu-link:hover, .menu-link.active { color: var(--primary-color); }
.menu-link.active:after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--primary-color); border-radius: 2px;
}
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border-color);
  border-radius: 8px; background: #fff; cursor: pointer; font-size: 18px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 30px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: var(--transition); border: 2px solid transparent;
}
.btn-primary, .btn-header-cta, .btn-cta, .btn-download, .btn-pricing-featured {
  background: var(--primary-color); color: #fff;
  box-shadow: 0 4px 14px rgba(4,120,87,.28);
}
.btn-primary:hover, .btn-header-cta:hover, .btn-cta:hover, .btn-download:hover {
  background: var(--accent-color); color: #fff;
}
.btn-secondary, .btn-register {
  background: #fff; color: var(--primary-color); border-color: var(--primary-color);
}
.btn-secondary:hover, .btn-register:hover { background: var(--bg-dark); }
.btn-pricing {
  background: #fff; color: var(--primary-color); border: 2px solid var(--primary-color); width: 100%;
}
.btn-pricing-featured { width: 100%; border: none; }

.hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  position: relative; overflow: hidden;
}
.hero .container {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.22; margin-bottom: 18px; }
.hero-content p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.hero-image img {
  max-width: 100%; border-radius: 12px; box-shadow: var(--box-shadow);
  transform: perspective(1000px) rotateY(-4deg); transition: var(--transition);
}
.hero-image img:hover { transform: perspective(1000px) rotateY(0); }

.features { background: var(--bg-light); }
.features-grid, .products-grid, .pricing-grid, .testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.feature-card, .product-card, .testimonial-card, .pricing-card {
  background: #fff; border-radius: var(--border-radius); padding: 28px;
  box-shadow: var(--box-shadow); transition: var(--transition);
}
.feature-card { text-align: center; }
.feature-card:hover, .product-card:hover, .testimonial-card:hover, .pricing-card:hover {
  transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.feature-icon, .product-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4,120,87,.1); color: var(--primary-color);
  border-radius: 50%; font-size: 1.35rem; font-weight: 800;
}
.product-icon { margin: 0 0 16px; }
.feature-card h3, .product-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-card p, .product-card p { color: var(--text-light); font-size: .95rem; }

.products { background: #fff; }

.pricing { background: var(--bg-light); }
.pricing-card { position: relative; padding: 30px; }
.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 32px rgba(4,120,87,.18);
}
.pricing-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--primary-color); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.pricing-header { text-align: center; margin-bottom: 18px; }
.pricing-price { display: flex; justify-content: center; align-items: baseline; gap: 4px; margin: 10px 0; }
.pricing-price .currency { font-size: 1.1rem; color: var(--primary-color); }
.pricing-price .amount { font-size: 2.6rem; font-weight: 800; color: var(--primary-color); }
.pricing-description { color: var(--text-light); font-size: .95rem; }
.pricing-features ul li {
  padding: 8px 0; border-bottom: 1px solid var(--border-color);
  color: var(--text-light); font-size: .95rem;
}
.pricing-features ul li:before { content: "✓ "; color: var(--primary-color); font-weight: 700; }
.pricing-action { margin-top: 20px; }

.testimonials { background: #fff; }
.testimonial-header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(4,120,87,.12); color: var(--primary-color);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.testimonial-role { color: var(--text-lighter); font-size: .85rem; }
.testimonial-rating { color: #F59E0B; letter-spacing: 1px; font-size: 12px; margin-top: 4px; }
.testimonial-content p { color: var(--text-light); font-size: .95rem; line-height: 1.75; }

.cta {
  background: linear-gradient(135deg, #047857 0%, #0F172A 100%);
  color: #fff; text-align: center;
}
.cta-content h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta-content p { opacity: .9; margin-bottom: 22px; }
.cta .btn-cta { background: #fff; color: var(--primary-color); }

.download-section { padding: 120px 0 80px; background: var(--bg-light); }
.download-header { text-align: center; margin-bottom: 48px; }
.download-header h1 {
  font-size: 2.4rem; margin-bottom: 14px; position: relative; display: inline-block;
}
.download-header h1:after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background: var(--primary-color); border-radius: 3px;
}
.download-header p { color: var(--text-light); max-width: 680px; margin: 20px auto 0; }
.os-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.os-tab {
  padding: 12px 28px; border-radius: 30px; font-weight: 700; cursor: pointer;
  background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.05); transition: var(--transition);
}
.os-tab.active {
  background: var(--primary-color); color: #fff;
  box-shadow: 0 4px 15px rgba(4,120,87,.3);
}
.os-content { display: none; }
.os-content.active { display: block; }
.version-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.version-card {
  background: #fff; border-radius: var(--border-radius); padding: 22px;
  box-shadow: var(--box-shadow); display: flex; flex-direction: column; gap: 16px;
}
.version-name { font-weight: 700; }
.download-note {
  margin-top: 28px; background: #fff; border-radius: 10px; padding: 16px 18px;
  color: var(--text-light); font-size: .95rem; border: 1px solid var(--border-color);
}

.float-help {
  position: fixed; right: 20px; bottom: 90px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-color); color: #fff; display: flex;
  align-items: center; justify-content: center; font-weight: 800;
  box-shadow: 0 4px 15px rgba(4,120,87,.35);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed; top: 80px; left: -100%; width: 80%; height: calc(100vh - 80px);
    background: #fff; box-shadow: var(--box-shadow); transition: .4s; z-index: 999;
    overflow-y: auto; padding: 20px;
  }
  .nav-menu.active { left: 0; }
  .menu-items { flex-direction: column; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-image { justify-content: center; }
  .hero-image img { transform: none; }
  .cta-buttons { justify-content: center; }
}
