/* ========================================
   style.css — ERP 品牌官网样式
   ======================================== */

/* ---------- 基础 ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 17px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
  border-radius: 1px;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar .btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar .btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.navbar .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.navbar .btn-primary {
  background: var(--primary);
  color: white;
}

.navbar .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* ---------- 移动端菜单按钮 ---------- */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-actions .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #f0fdf4 0%, #ffffff 30%, #f8fafc 70%, #f0fdf4 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(67,162,16,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,162,16,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -30%;
  left: -15%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(67,162,16,0.08), transparent 70%);
  pointer-events: none;
  animation: glowDrift 22s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  bottom: -25%;
  right: -10%;
  width: 65%;
  height: 65%;
  background: radial-gradient(ellipse, rgba(255,93,18,0.06), transparent 70%);
  pointer-events: none;
  animation: glowDrift2 26s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  background: var(--primary-bg);
  border: 1px solid rgba(67,162,16,0.15);
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-badge-version {
  background: var(--primary-bg);
  color: var(--primary);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 4px;
}

.hero-title {
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #43A210 0%, #54C814 50%, #66DD1A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 24px rgba(67,162,16,0.3);
  transition: all 0.3s var(--ease);
}

.hero .btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(67,162,16,0.4);
}

.hero .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.hero .btn-hero-secondary:hover {
  background: var(--bg-alt);
  color: var(--primary);
  border-color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.4;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 2.2s ease-in-out infinite;
}

/* ---------- 通用章节 ---------- */
.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #3b82f6;
  margin-bottom: 12px;
}

.section-label-line {
  width: 24px;
  height: 2px;
  background: #60a5fa;
  border-radius: 1px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-title.light {
  color: white;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: var(--space-3xl);
}

.section-desc.light {
  color: var(--text-muted);
}

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

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 品牌标识栏 ---------- */
.brands-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: var(--space-2xl) 0;
  opacity: 0.35;
}

.brand-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ---------- 功能模块卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,70,229,0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card-icon.brand { background: var(--primary-bg); color: #2563eb; }
.feature-card-icon.green { background: var(--success-bg); color: var(--success); }
.feature-card-icon.cyan  { background: var(--info-bg);    color: var(--info); }
.feature-card-icon.warm  { background: var(--warning-bg); color: var(--warning); }
.feature-card-icon.red   { background: var(--danger-bg);  color: var(--danger); }

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 16px;
  text-decoration: none;
  transition: gap 0.2s;
}

.feature-card .feature-link:hover {
  gap: 8px;
}

/* ---------- 大功能亮点（左右布局） ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-visual {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.showcase-visual-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.showcase-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.showcase-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.showcase-list-item .check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 统计数据 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.stat-item:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}

.stat-item-value {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-item-label {
  font-size: 14px;
  color: var(--text-muted);
}

.stat-item-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

/* ---------- 客户评价 ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 16px;
}

.testimonial-info .name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-info .role {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- CTA 区域 ---------- */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  color: white;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: white;
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.cta .btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.cta .btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s var(--ease);
}

.cta .btn-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* ---------- 价格卡片 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s var(--ease);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-xl);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.pricing-amount .currency {
  font-size: 20px;
  font-weight: 600;
}

.pricing-amount .period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--success);
  font-weight: 700;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.pricing-btn.outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.pricing-btn.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.pricing-btn.solid {
  background: var(--primary);
  color: white;
}

.pricing-btn.solid:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-glow);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ---------- 分割线 ---------- */
.divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  margin: 20px auto 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .section { padding: var(--space-3xl) 0; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
  .showcase-visual { height: 240px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 24px 16px; }
  .stat-item-value { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .brands-bar { gap: 24px; }
}
