/* ===== Product Hero Decorations ===== */
.prod-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.prod-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-btns { display: flex; gap: 16px; margin-top: 28px; justify-content: center; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ===== Anchor Nav ===== */
.prod-anchor {
  position: sticky; top: 70px; z-index: 99; /* 降低z-index，确保不遮挡header */
  background: #fff; border-bottom: 1px solid #e8ecf1;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.anchor-list {
  display: flex; gap: 0;
}
.anchor-item {
  padding: 16px 28px; font-size: 14px; font-weight: 500;
  color: #64748b; position: relative; transition: color .3s;
  white-space: nowrap;
}
.anchor-item::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: #2563eb;
  transform: translateX(-50%); transition: width .3s;
}
.anchor-item:hover { color: #1e293b; }
.anchor-item.active { color: #2563eb; font-weight: 600; }
.anchor-item.active::after { width: 100%; }

/* ===== Pain Points ===== */
.painpoints { padding: 80px 0; background: #fff; }
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.pain-card {
  padding: 36px 24px; border-radius: 14px;
  background: #f8fafc; border: 1px solid #e8ecf1;
  text-align: center; transition: all .4s cubic-bezier(.4,0,.2,1);
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: #2563eb;
}
.pain-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; margin: 0 auto 18px;
  transition: all .4s;
}
.pain-card:hover .pain-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.pain-card h4 {
  font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 10px;
}
.pain-card p { font-size: 13px; color: #64748b; line-height: 1.7; }

/* ===== Features ===== */
.features { padding: 80px 0; background: #f5f7fa; }
.feat-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.feat-tab {
  padding: 10px 24px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: #64748b; background: #fff;
  border: 1px solid #e2e8f0; transition: all .3s; cursor: pointer;
}
.feat-tab:hover { color: #2563eb; border-color: #2563eb; }
.feat-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
}
.feat-panel {
  display: none; gap: 48px; align-items: center;
  animation: featFade .5s ease;
}
.feat-panel.active { display: flex; }
@keyframes featFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.feat-img { flex: 0 0 50%; }
.feat-screen {
  border-radius: 12px; overflow: hidden;
  background: #1e293b; box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.screen-bar {
  display: flex; gap: 6px; padding: 10px 14px;
  background: #0f172a;
}
.screen-bar span {
  width: 10px; height: 10px; border-radius: 50%;
}
.screen-bar span:nth-child(1) { background: #ef4444; }
.screen-bar span:nth-child(2) { background: #eab308; }
.screen-bar span:nth-child(3) { background: #22c55e; }
.screen-body {
  padding: 30px; min-height: 240px;
  display: flex; align-items: center; justify-content: center;
}
.screen-chart-group {
  display: flex; gap: 16px; align-items: flex-end; height: 160px; width: 100%;
}
.screen-chart-bar {
  flex: 1; background: linear-gradient(to top, #2563eb, #60a5fa);
  border-radius: 4px 4px 0 0; min-height: 20px;
}
.screen-pie { width: 140px; height: 140px; }
.screen-pie svg { width: 100%; height: 100%; }
.screen-line { width: 100%; }
.screen-line svg { width: 100%; height: auto; }
.screen-rating { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.rating-bar {
  height: 12px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden;
}
.rating-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.feat-info { flex: 1; }
.feat-info h3 {
  font-size: 22px; font-weight: 600; color: #1e293b; margin-bottom: 14px;
}
.feat-info > p {
  font-size: 14px; color: #64748b; line-height: 1.8; margin-bottom: 20px;
}
.feat-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.feat-list li {
  font-size: 14px; color: #475569; padding-left: 22px; position: relative;
}
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

/* ===== Values ===== */
.values { padding: 80px 0; background: #fff; }
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.value-card {
  padding: 36px 32px; border-radius: 14px;
  background: #f8fafc; border: 1px solid #e8ecf1;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.value-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; margin-bottom: 16px;
}
.value-card h4 {
  font-size: 17px; font-weight: 600; color: #1e293b; margin-bottom: 10px;
}
.value-card p { font-size: 13px; color: #64748b; line-height: 1.7; }
.value-card-highlight {
  background: linear-gradient(135deg, #0f2847, #1e40af);
  border-color: transparent;
}
.value-card-highlight:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.2);
}
.value-card-highlight h4 { color: #fff; }
.value-card-highlight p { color: rgba(255,255,255,.6); }
.value-num {
  font-size: 36px; font-weight: 800; color: #60a5fa;
  margin-bottom: 8px; letter-spacing: -1px;
}

/* ===== Case Detail ===== */
.prodcase {
  padding: 80px 0;
  background: linear-gradient(135deg, #070e1a 0%, #0a1628 30%, #0f2847 70%, #132e52 100%);
}
.prodcase .section-title { color: #fff; }
.prodcase .section-title::after { background: #60a5fa; }
.prodcase .section-desc { color: rgba(255,255,255,.5); }
.case-detail {
  display: flex; gap: 40px; align-items: center;
}
.case-detail-img { flex: 0 0 50%; }
.case-detail-img img { width: 100%; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.case-screen-mock {
  border-radius: 12px; overflow: hidden;
  background: #1e293b; box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.mock-dashboard {
  display: flex; min-height: 220px;
}
.mock-sidebar {
  width: 50px; background: #0f172a;
}
.mock-main { flex: 1; padding: 12px; }
.mock-topbar {
  height: 16px; background: rgba(255,255,255,.06); border-radius: 4px; margin-bottom: 12px;
}
.mock-cards { display: flex; gap: 8px; margin-bottom: 12px; }
.mock-card {
  flex: 1; height: 50px; border-radius: 6px;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.2);
}
.mock-chart {
  height: 80px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(96,165,250,.1));
  border: 1px solid rgba(255,255,255,.06);
}
.case-detail-info { flex: 1; }
.case-tag {
  display: inline-block; padding: 4px 14px; border-radius: 4px;
  background: rgba(37,99,235,.15); color: #60a5fa;
  font-size: 12px; font-weight: 500; margin-bottom: 14px;
}
.case-detail-info h3 {
  font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 20px;
}
.case-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.case-tab {
  padding: 10px 20px; font-size: 14px; color: rgba(255,255,255,.5);
  background: none; border: none; cursor: pointer;
  position: relative; transition: color .3s;
}
.case-tab::after {
  content: ""; position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 2px; background: #2563eb;
  transform: scaleX(0); transition: transform .3s;
}
.case-tab:hover { color: rgba(255,255,255,.8); }
.case-tab.active { color: #fff; }
.case-tab.active::after { transform: scaleX(1); }
.case-tab-panel {
  display: none;
  animation: featFade .4s ease;
}
.case-tab-panel.active { display: block; }
.case-tab-panel p {
  font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.9;
}

/* ===== Recommend ===== */
.recommend { padding: 80px 0; background: #f5f7fa; }
.rec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.rec-card {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid #e8ecf1;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  display: block;
}
.rec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.rec-img {
  height: 180px; position: relative; overflow: hidden;
}
.rec-img img { width: 100%; height: 100%; object-fit: cover; }
.ri-1 { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.ri-2 { background: linear-gradient(135deg, #dc2626, #f87171); }
.ri-3 { background: linear-gradient(135deg, #059669, #34d399); }
.rec-body { padding: 20px 24px; }
.rec-body h4 {
  font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px;
}
.rec-body p { font-size: 13px; color: #64748b; margin-bottom: 12px; }
.rec-link {
  font-size: 13px; color: #2563eb; font-weight: 500;
  transition: letter-spacing .3s;
}
.rec-card:hover .rec-link { letter-spacing: 1px; }

/* ===== Footer detail (reuse from cases) ===== */
.footer-col-wide { flex: 1.5; }
.footer-col-grid { display: flex; gap: 24px; }
.footer-col-grid div { display: flex; flex-direction: column; }
.footer-col-grid a {
  display: block; color: rgba(255,255,255,0.5); font-size: 13px;
  margin-bottom: 10px; transition: color .3s;
}
.footer-col-grid a:hover { color: #60a5fa; }
.footer-address { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-left { display: flex; align-items: center; gap: 12px; }
.friend-link-label { color: rgba(255,255,255,0.4); font-size: 12px; }
.friend-link-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 4px; font-size: 12px;
  color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all .3s;
}
.friend-link-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-panel { flex-direction: column; }
  .feat-img { flex: none; width: 100%; }
  .case-detail { flex-direction: column; }
  .case-detail-img { flex: none; width: 100%; }
  .footer-detail .footer-main { flex-wrap: wrap; }
  .footer-brand { flex: 0 0 100%; margin-bottom: 16px; }
  .footer-col-wide { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 768px) {
  .prod-anchor { top: 70px; }
  .anchor-list { overflow-x: auto; }
  .anchor-item { padding: 14px 18px; font-size: 13px; }
  .pain-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .feat-tabs { gap: 6px; }
  .feat-tab { padding: 8px 16px; font-size: 13px; }
  .footer-detail .footer-col { flex: 0 0 calc(50% - 15px); }
  .footer-col-grid { flex-direction: column; gap: 0; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-left { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .rec-img { height: 140px; }
  .footer-detail .footer-col { flex: 0 0 100%; }
}
