*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient-start: #e63946;
  --primary-gradient-end: #ff6b6b;
  --primary-color: #e63946;
  --primary-hover: #c92a36;
  --bg-light: #fff9f9;
  --bg-white: #ffffff;
  --text-main: #1a1a2e;
  --text-secondary: #4a4a68;
  --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.08);
  --shadow-md: 0 8px 24px rgba(230, 57, 70, 0.12);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 57, 70, 0.08);
  z-index: 1000;
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .logo-img {
  height: 40px;
  width: auto;
}

.nav-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}

/* Hero 区域 */
.hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 60%, #fff9f9 100%);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.btn-primary-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* 产品展示区 */
.product-showcase {
  background: var(--bg-light);
  padding: 40px 0 60px;
}

.product-image-wrapper {
  text-align: center;
}

.product-main-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Section 通用 */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

/* 产品版本 */
.products {
  background: var(--bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.product-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid transparent;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card.featured {
  border-color: var(--primary-color);
  background: #fff5f5;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.product-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-specs {
  text-align: left;
  margin-bottom: 16px;
}

.product-specs h4 {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(230, 57, 70, 0.15);
}

.product-specs ul {
  list-style: none;
  margin-bottom: 12px;
}

.product-specs li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.product-scenarios {
  text-align: left;
  padding: 12px;
  background: rgba(230, 57, 70, 0.05);
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-scenarios h4 {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.product-scenarios p {
  font-size: 13px;
  color: var(--text-main);
}

/* 核心功能 */
.features {
  background: var(--bg-light);
}

.features-intro {
  text-align: center;
  margin-bottom: 40px;
}

.features-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(230, 57, 70, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.feature-quant { border-top: 4px solid #4ecdc4; }
.feature-destiny { border-top: 4px solid #9b59b6; }
.feature-manager { border-top: 4px solid #3498db; }

/* 企业版专属功能 */
.enterprise-features {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.enterprise-features h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 28px;
  color: var(--text-main);
}

.enterprise-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.enterprise-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.ef-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.enterprise-feature-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.enterprise-feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 规格对比表 */
.specs {
  background: var(--bg-white);
}

.specs-table-wrapper {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table th,
.specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(230, 57, 70, 0.08);
}

.specs-table th {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.specs-table th:first-child {
  text-align: left;
}

.specs-table td {
  font-size: 14px;
  color: var(--text-secondary);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-light);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tbody tr:hover td {
  background: rgba(230, 57, 70, 0.02);
}

/* 价格方案 */
.pricing {
  background: var(--bg-light);
}

.pricing-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pricing-item {
  background: var(--bg-white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.pricing-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-item.featured {
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.pricing-item.featured:hover {
  transform: scale(1.02) translateY(-3px);
}

.pricing-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-item > p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-item ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-item ul li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid rgba(230, 57, 70, 0.08);
}

.pricing-item ul li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
}

.pricing-note p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 8px 0;
}

/* 联系 */
.contact {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
}

.contact .section-title {
  color: white;
}

.contact-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info p {
  font-size: 16px;
  margin: 0;
}

.contact-wechat {
  margin-top: 16px;
}

.contact-wechat .wechat-qr {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  background: white;
  object-fit: cover;
}

.contact-wechat p {
  font-size: 14px;
  margin-top: 12px;
  opacity: 0.9;
}

.contact .btn-primary-outline {
  border-color: white;
  color: white;
}

.contact .btn-primary-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  padding: 24px 20px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: #999;
  margin: 4px 0;
}

.footer-note {
  font-size: 12px;
  margin-top: 8px;
}

/* 响应式 */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 16px 20px 20px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.1);
    border-top: 1px solid rgba(230, 57, 70, 0.08);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 15px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .products-grid,
  .features-grid,
  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-item.featured {
    transform: none;
  }

  .pricing-item.featured:hover {
    transform: translateY(-3px);
  }

  .specs-table {
    font-size: 12px;
  }

  .specs-table th,
  .specs-table td {
    padding: 12px 10px;
  }
}

/* 动画类 */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple */
.ripple {
  position: absolute;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.55s ease-out forwards;
}

@keyframes ripple {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}