/* 拓客 / 引流工具 · 统一展示位 */
.tool-showcases {
  margin-top: 8px;
}

.tool-showcases[hidden] {
  display: none !important;
}

.tool-showcase-pane[hidden] {
  display: none !important;
}

.tool-showcase-pane.visible {
  opacity: 1;
  transform: none;
}

/* 拓客工具 · 全网获客软件展示 */
.tuoke-showcase {
  margin-top: 0;
}

.tuoke-showcase[hidden] {
  display: none !important;
}

.tuoke-panel {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(62, 146, 204, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 95% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 244, 252, 0.75) 100%);
  border: 1px solid rgba(10, 36, 99, 0.08);
  box-shadow:
    0 24px 64px rgba(10, 36, 99, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.tuoke-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 36, 99, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 36, 99, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 80%);
  pointer-events: none;
}

.tuoke-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 380px);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-bottom: 36px;
}

.tuoke-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #0A2463 0%, #2563eb 55%, #6366F1 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.tuoke-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.tuoke-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, #0A2463 0%, #2563eb 50%, #6366F1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tuoke-subtitle {
  margin: 0 0 16px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text-primary);
}

.tuoke-tagline {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.tuoke-intro-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.tuoke-intro-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tuoke-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #6366F1);
}

.tuoke-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.tuoke-stat {
  padding: 14px 12px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 36, 99, 0.07);
  box-shadow: 0 6px 20px rgba(10, 36, 99, 0.04);
}

.tuoke-stat strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0A2463;
  line-height: 1.2;
}

.tuoke-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tuoke-stat small {
  display: block;
  margin-top: 2px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.tuoke-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0A2463 0%, #2563eb 55%, #6366F1 100%);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tuoke-doc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.38);
}

.tuoke-doc-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tuoke-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
}

.tuoke-phone {
  position: relative;
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  box-shadow:
    0 32px 64px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tuoke-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.tuoke-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #fff;
}

.tuoke-phone-glow {
  position: absolute;
  inset: 20% -20% -10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.tuoke-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tuoke-section-head h4 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tuoke-section-head span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tuoke-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.tuoke-module {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  min-height: 132px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tuoke-module:hover {
  transform: translateY(-3px);
}

.tuoke-module--large {
  min-height: 148px;
}

.tuoke-module--blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.28);
}

.tuoke-module--orange {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 55%, #fb923c 100%);
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.26);
}

.tuoke-module--pink {
  background: linear-gradient(135deg, #be185d 0%, #db2777 55%, #f472b6 100%);
  box-shadow: 0 14px 36px rgba(219, 39, 119, 0.24);
}

.tuoke-module--cyan {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 55%, #22d3ee 100%);
  box-shadow: 0 14px 36px rgba(8, 145, 178, 0.24);
}

.tuoke-module-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.75rem;
  opacity: 0.85;
}

.tuoke-module h5 {
  margin: 0 0 8px;
  padding-right: 36px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tuoke-module p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  opacity: 0.92;
}

.tuoke-advanced {
  margin-bottom: 28px;
}

.tuoke-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tuoke-advanced-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 36, 99, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tuoke-advanced-item:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 8px 24px rgba(10, 36, 99, 0.06);
}

.tuoke-advanced-code {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.tuoke-advanced-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tuoke-advanced-item p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tuoke-features {
  padding-top: 24px;
  border-top: 1px solid rgba(10, 36, 99, 0.08);
}

.tuoke-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tuoke-feature-tag {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e40af;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

html[data-theme="dark"] .tuoke-panel {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(62, 146, 204, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 36, 99, 0.35) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .tuoke-stat {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .tuoke-stat strong {
  color: #93c5fd;
}

html[data-theme="dark"] .tuoke-advanced-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .tuoke-feature-tag {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

@media (max-width: 900px) {
  .tuoke-hero {
    grid-template-columns: 1fr;
  }

  .tuoke-visual {
    order: -1;
    width: min(100%, 280px);
  }
}

@media (max-width: 640px) {
  .tuoke-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .tuoke-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .tuoke-stat {
    padding: 10px 6px;
  }

  .tuoke-stat strong {
    font-size: 1.125rem;
  }

  .tuoke-modules,
  .tuoke-advanced-grid {
    grid-template-columns: 1fr;
  }

  .tuoke-doc-btn {
    width: 100%;
    justify-content: center;
  }
}
