/* ===== DAIXIE PAGE STYLES ===== */
/* 业务主色：墨绿色 (#059669) 到 松松蓝 (#1E90FF) 渐变 */
/* 背景：白底 + 柔和绿色、蓝色放射状渐变 */

/* === 获取脚本按钮文字白色 === */
.package-card-btn.primary {
  color: #fff !important;
}

/* === 全局背景纹理 === */
.banner::after,
.price-table-section::after,
.packages-section::after,
.cases-section::after,
.prod-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(5, 150, 105, 0.015) 28px,
      rgba(5, 150, 105, 0.015) 29px
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L30 22 L25 25 Z' fill='rgba(5,150,105,0.01)' stroke='rgba(30,144,255,0.02)' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.banner,
.price-table-section,
.packages-section,
.cases-section,
.prod-section {
  position: relative;
}
.banner > .container,
.price-table-section > .container,
.packages-section > .container,
.cases-section > .container,
.prod-section > .container {
  position: relative;
  z-index: 1;
}

/* === 首屏协作流程 === */
.banner-workflow-showcase {
  position: relative;
  width: 620px;
  min-height: 390px;
  flex: 0 0 620px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.workflow-steps {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 280px;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}
.workflow-steps::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 32px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(#059669, rgba(30, 144, 255, 0.35), #059669);
}
.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(5, 85, 67, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.workflow-step::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.72), transparent 70%);
  animation: workflowShimmer 7s ease-in-out infinite;
}
.workflow-step:nth-child(2)::after { animation-delay: 1.4s; }
.workflow-step:nth-child(3)::after { animation-delay: 2.8s; }
.workflow-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #047857, #059669 52%, #1e90ff);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(5, 150, 105, 0.2);
}
.workflow-step > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}
.workflow-step strong { color: #17352f; font-size: 14px; }
.workflow-step small { color: #667b76; font-size: 11px; line-height: 1.45; }
@keyframes workflowShimmer {
  0%, 58% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}
.price-container {
  border-color: rgba(5, 150, 105, 0.1);
}
.popular-type-row {
  position: relative;
  background: linear-gradient(90deg, rgba(255, 247, 230, 0.92), rgba(255, 255, 255, 0.96));
  border-left: 3px solid #f5a623;
}
.popular-type-row:hover {
  background: linear-gradient(90deg, #fff2d7, rgba(255, 255, 255, 0.98)) !important;
}
.popular-type-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 18px;
  padding: 4px 10px 5px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(135deg, #f5a623, #ef8c14);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(245, 166, 35, 0.2);
}
.grid-row:not(.grid-header):hover {
  background-color: rgba(5, 150, 105, 0.05) !important;
}

/* 主色渐变 */
.table-title {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
}
.btn-login-main {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3) !important;
}
.btn-login-main:hover {
  box-shadow: 0 6px 15px rgba(5, 150, 105, 0.45) !important;
}
.banner-tag {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.2) !important;
  color: #059669 !important;
}
.col-price {
  color: #059669 !important;
}
.diamond-tag {
  border-color: #059669 !important;
  color: #059669 !important;
}
.col-media a {
  color: #059669 !important;
}
.col-media a:hover {
  color: #1e90ff !important;
}
.note-tag {
  background: rgba(5, 150, 105, 0.06) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.1) !important;
}
.seo-tag.high {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.12) !important;
}
.seo-tag.medium {
  background: rgba(30, 144, 255, 0.08) !important;
  color: #1e90ff !important;
  border-color: rgba(30, 144, 255, 0.12) !important;
}
.banner-stat-num {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.btn-banner-cta {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.2) !important;
}
.btn-banner-cta:hover {
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.3) !important;
}
.btn-banner-outline {
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
}
.btn-banner-outline:hover {
  border-color: #1e90ff !important;
  background: rgba(5, 150, 105, 0.05) !important;
}
.visual-bar {
  background: rgba(5, 150, 105, 0.04) !important;
  border-color: rgba(5, 150, 105, 0.1) !important;
}
.visual-bar i {
  color: #059669 !important;
}
.visual-item {
  background: rgba(5, 150, 105, 0.02) !important;
  border-color: rgba(5, 150, 105, 0.06) !important;
}
.visual-item.highlight {
  background: rgba(5, 150, 105, 0.06) !important;
  border-color: rgba(5, 150, 105, 0.18) !important;
}
.visual-icon.cyan {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
}
.visual-icon.blue {
  background: linear-gradient(135deg, #1e90ff, #3b82f6) !important;
}
.visual-icon.orange {
  background: linear-gradient(135deg, #059669, #1e90ff) !important;
}
.visual-badge.live {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.15) !important;
}
.visual-badge.success {
  background: rgba(30, 144, 255, 0.1) !important;
  color: #1e90ff !important;
  border-color: rgba(30, 144, 255, 0.15) !important;
}
.visual-badge.warm {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #047857 !important;
  border-color: rgba(5, 150, 105, 0.15) !important;
}
.package-card {
  border-color: rgba(5, 150, 105, 0.08) !important;
}
.package-card:hover {
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.1) !important;
}
.package-card.featured {
  border-color: rgba(5, 150, 105, 0.3) !important;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08) !important;
}
.package-card.featured:hover {
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.18) !important;
}
.package-card-badge {
  position: absolute !important;
  z-index: 2 !important;
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
}
.package-card-count {
  background: rgba(5, 150, 105, 0.06) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.1) !important;
}
.package-card-features li i {
  color: #059669 !important;
}
.package-card-btn {
  border-color: rgba(5, 150, 105, 0.2) !important;
  color: #059669 !important;
}
.package-card-btn:hover {
  border-color: #1e90ff !important;
  background: rgba(5, 150, 105, 0.05) !important;
}
.package-card-btn.primary {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25) !important;
}
.package-card-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35) !important;
}
.price-amount {
  color: #059669 !important;
}
.phone-video-item:hover {
  background: rgba(5, 150, 105, 0.04) !important;
}
.phone-total-num {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.final-cta h3 em {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.price-table-header h2 span,
.packages-header h2 span,
.cases-header h2 span,
.prod-header h2 span {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.login-prompt-row {
  background: linear-gradient(to bottom, #fff, rgba(5, 150, 105, 0.03)) !important;
}
.prompt-text i {
  color: #059669 !important;
}
.banner h1 span {
  background: linear-gradient(135deg, #047857, #059669 48%, #1e90ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* 背景渐变 - ��和绿色、蓝色放射状 */
.banner {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(5, 150, 105, 0.03) 0%, transparent 60%), #fff !important;
}
.banner-visual {
  border-color: rgba(5, 150, 105, 0.1) !important;
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.04) !important;
}
.price-table-section {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(30, 144, 255, 0.06) 0%, transparent 45%), #f8fafc !important;
}
.packages-section {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 75%, rgba(5, 150, 105, 0.06) 0%, transparent 50%), #fff !important;
}
.cases-section {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 70%, rgba(30, 144, 255, 0.06) 0%, transparent 50%), #fff !important;
}
.prod-section {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 75%, rgba(5, 150, 105, 0.06) 0%, transparent 50%), #f8fafc !important;
}

/* fans-badge */
.fans-badge.small {
  background: rgba(5, 150, 105, 0.06) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.12) !important;
}
.fans-badge.medium {
  background: rgba(30, 144, 255, 0.06) !important;
  color: #1e90ff !important;
  border-color: rgba(30, 144, 255, 0.12) !important;
}
.fans-badge.large {
  background: rgba(139, 92, 246, 0.06) !important;
  color: #8b5cf6 !important;
  border-color: rgba(139, 92, 246, 0.12) !important;
}

/* === 实战案例卡片（模仿 xiaohongshu.html 布局）=== */
.cases-grid {
  column-count: 2;
  column-gap: 24px;
}
.case-card {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(5, 150, 105, 0.08);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
}
.case-card-header {
  padding: 20px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case-card-header h4 {
  font-size: 16px;
  font-weight: 700;
}
.case-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.06);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.1);
}
.case-card-body {
  padding: 0 24px 20px;
}
.case-data-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: end;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e5ece9;
}
.case-data-row:last-child { border-bottom: none; }
.case-metric-label {
  align-self: center;
  color: var(--text-light);
  font-size: 12px;
}
.case-metric-before,
.case-metric-after {
  position: relative;
  min-width: 0;
  padding-bottom: 12px;
  text-align: left;
  line-height: 1.45;
}
.case-metric-before { color: #8b9693; font-size: 12px; }
.case-metric-after { color: #047857; font-size: 13px; font-weight: 700; }
.case-metric-before::before,
.case-metric-after::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 99px;
}
.case-metric-before::before { width: 34%; height: 4px; background: #d8dfdc; }
.case-metric-after::before {
  width: 88%;
  height: 7px;
  background: linear-gradient(90deg, #047857, #10b981 55%, #1e90ff);
  box-shadow: 0 3px 9px rgba(5, 150, 105, 0.16);
}
.case-card:nth-child(2) .case-metric-after::before { width: 82%; }
.case-card:nth-child(3) .case-metric-after::before { width: 93%; }
.case-card:nth-child(4) .case-metric-after::before { width: 76%; }
.case-growth {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 8px;
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(30, 144, 255, 0.07));
  color: #047857;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.case-card-footer {
  padding: 12px 24px;
  background: linear-gradient(to bottom, #fff, rgba(5, 150, 105, 0.03));
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* === 响应式 === */
@media (max-width: 1200px) {
  .banner-workflow-showcase {
    width: 324px;
    min-height: 360px;
    flex-basis: 324px;
  }
  .workflow-steps {
    display: none;
  }
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cases-grid {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .banner {
    display: none !important;
  }
  .prod-section {
    display: none !important;
  }
  .stats-grid {
    display: none !important;
  }
  .grid-header,
  .col-fans,
  .col-data,
  .col-note {
    display: none !important;
  }
  .grid-row {
    grid-template-columns: 1fr 1fr !important;
    padding: 15px !important;
  }
  .col-media {
    font-size: 15px;
  }
  .col-price {
    text-align: right;
  }
  .packages-grid {
    grid-template-columns: 1fr !important;
  }
  .prod-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cases-grid {
    column-count: 1 !important;
  }
  .final-cta h3 {
    font-size: 20px;
  }
  .final-cta .btn-cta {
    font-size: 14px;
    padding: 12px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-step::after {
    animation: none;
  }
}
