/* ============================================================
   product-tuoke.css — 外贸拓客服务宣传页
   定位：服务模式全景展示 + 按需定制邀约（与 product-qipei 互补）
   主题：沿用全站黑底 + 品牌红 #e60012，tk- 前缀避免污染
   依赖：css/style.css 的设计变量与通用类
   ============================================================ */

:root {
  --tk-red: var(--accent-primary);
  --tk-red-bright: #ff4d5a;
  --tk-red-deep: #a3000e;
  --tk-red-glow: rgba(230, 0, 18, 0.3);
  --tk-red-bg: rgba(230, 0, 18, 0.07);
}

/* ---------- Hero ---------- */
.tk-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: radial-gradient(120% 90% at 80% 0%, rgba(230, 0, 18, 0.12) 0%, transparent 60%),
              radial-gradient(80% 60% at 10% 100%, rgba(230, 0, 18, 0.06) 0%, transparent 55%);
}

.tk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.tk-worldmap {
  width: 100%;
  height: 100%;
  display: block;
}

.tk-worldmap .tk-node {
  fill: var(--tk-red-bright);
  filter: drop-shadow(0 0 6px var(--tk-red));
}

.tk-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.tk-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--tk-red-glow);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--tk-red-bright);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  background: var(--tk-red-bg);
}

.tk-hero-title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.tk-hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.6vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 16px;
  line-height: 1.65;
}

.tk-hero-meta {
  font-size: 0.875rem;
  color: var(--tk-red-bright);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

/* ---------- 节尾句 ---------- */
.tk-tail {
  text-align: center;
  margin-top: 48px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 痛点 ---------- */
.tk-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tk-pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tk-pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--tk-red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.tk-pain-card:hover {
  border-color: var(--tk-red-glow);
  transform: translateY(-4px);
}

.tk-pain-card:hover::before { opacity: 1; }

.tk-pain-num {
  font-size: 0.8125rem;
  color: var(--tk-red-bright);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.tk-pain-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tk-pain-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---------- 服务模式（三步·核心） ---------- */
.tk-model {
  background: radial-gradient(ellipse at center, rgba(230, 0, 18, 0.03) 0%, transparent 70%);
}

.tk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* 步骤之间的连接线 */
.tk-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, var(--tk-red-deep), var(--tk-red), var(--tk-red-deep));
  opacity: 0.4;
  z-index: 0;
}

.tk-step {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

.tk-step-node {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--tk-red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 24px var(--tk-red-glow);
}

.tk-step-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tk-red-bright);
}

.tk-step-icon {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tk-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.tk-step-icon svg {
  width: 16px;
  height: 16px;
}

.tk-step-body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tk-step-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tk-step-list {
  list-style: none;
  text-align: left;
  margin: 12px 0;
}

.tk-step-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: 1.5;
}

.tk-step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tk-red);
}

.tk-step-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.tk-step-note {
  font-size: 0.875rem !important;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 8px !important;
}

/* ---------- 社媒渠道 ---------- */
.tk-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tk-channel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tk-channel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tk-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.tk-channel:hover {
  transform: translateY(-6px);
  border-color: var(--tk-red-glow);
  box-shadow: 0 16px 40px rgba(230, 0, 18, 0.12);
}

.tk-channel:hover::after { transform: scaleX(1); }

.tk-channel-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.tk-channel-icon svg {
  width: 28px;
  height: 28px;
}

/* 平台品牌色：遵循品牌规范，icon 内保留原色，外框中性 */
.tk-ico-fb { color: #1877F2; }
.tk-ico-tt { color: #fff; background: #000; }
.tk-ico-wa { color: #25D366; }

.tk-channel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tk-channel p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- 系统模块 8 项 ---------- */
.tk-system {
  background: radial-gradient(ellipse at center, rgba(230, 0, 18, 0.03) 0%, transparent 70%);
}

.tk-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tk-module {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 20px;
  transition: var(--transition);
  position: relative;
}

.tk-module:hover {
  border-color: var(--tk-red-glow);
  transform: translateY(-3px);
  background: linear-gradient(180deg, var(--tk-red-bg), transparent 70%);
}

.tk-module-num {
  font-size: 0.75rem;
  color: var(--tk-red-bright);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.tk-module h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tk-module p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* ---------- 服务边界 对比栏 ---------- */
.tk-boundary {
  background: radial-gradient(ellipse at center, rgba(230, 0, 18, 0.03) 0%, transparent 70%);
}

.tk-bounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tk-bound {
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.tk-bound-yes {
  border-color: rgba(46, 160, 67, 0.3);
  background: linear-gradient(180deg, rgba(46, 160, 67, 0.05), transparent 70%);
}

.tk-bound-no {
  border-color: var(--tk-red-glow);
  background: linear-gradient(180deg, var(--tk-red-bg), transparent 70%);
}

.tk-bound-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-subtle);
}

.tk-bound-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tk-bound-yes .tk-bound-mark {
  background: rgba(46, 160, 67, 0.15);
  color: #4ade80;
  border: 1px solid rgba(46, 160, 67, 0.4);
}

.tk-bound-no .tk-bound-mark {
  background: var(--tk-red-bg);
  color: var(--tk-red-bright);
  border: 1px solid var(--tk-red-glow);
}

.tk-bound-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.tk-bound ul {
  list-style: none;
}

.tk-bound li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tk-bound li:last-child { border-bottom: none; }

.tk-bound li::before {
  position: absolute;
  left: 0;
  top: 8px;
}

.tk-bound-yes li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
}

.tk-bound-no li::before {
  content: '✕';
  color: var(--tk-red-bright);
  font-weight: 700;
}

.tk-bound li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- 按需定制 ---------- */
.tk-custom-lead {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 40px;
}

.tk-customs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tk-custom {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-surface);
  transition: var(--transition);
}

.tk-custom:hover {
  border-color: var(--tk-red-glow);
  transform: translateY(-4px);
}

.tk-custom-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--tk-red);
  margin-bottom: 16px;
  line-height: 1;
}

.tk-custom h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tk-custom p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.tk-custom-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- FAQ ---------- */
.tk-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.tk-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg-surface);
  overflow: hidden;
  transition: var(--transition);
}

.tk-faq-item[open] {
  border-color: var(--tk-red-glow);
}

.tk-faq-item summary {
  padding: 18px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.tk-faq-item summary::-webkit-details-marker { display: none; }

.tk-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--tk-red-bright);
  transition: transform 0.3s;
  font-weight: 300;
}

.tk-faq-item[open] summary::after {
  content: '−';
}

.tk-faq-a {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- CTA + 留资 ---------- */
.tk-cta {
  background: radial-gradient(ellipse at center, rgba(230, 0, 18, 0.05) 0%, transparent 70%);
}

.tk-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.tk-cta-info h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--tk-red-bright), var(--tk-red-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tk-cta-info p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tk-cta-direct {
  font-size: 0.9375rem !important;
}

.tk-cta-direct a {
  color: var(--text-primary);
  border-bottom: 1px dashed var(--tk-red-glow);
}

.tk-cta-cross {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.9375rem !important;
}

.tk-cta-cross a {
  color: var(--tk-red-bright);
  font-weight: 600;
}

.tk-cta-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(230, 0, 18, 0.12);
}

.tk-cta-form-wrap h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tk-cta-form-sub {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.tk-field {
  margin-bottom: 16px;
}

.tk-field label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.tk-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: var(--transition);
}

.tk-field input::placeholder { color: rgba(255, 255, 255, 0.3); }

.tk-field input:focus {
  outline: none;
  border-color: var(--tk-red);
  background: rgba(230, 0, 18, 0.03);
}

.tk-cta-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.tk-cta-msg {
  margin-top: 12px;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.2em;
}

.tk-cta-msg.success { color: #4ade80; }
.tk-cta-msg.error { color: var(--tk-red-bright); }

/* ---------- 动画 ---------- */
@keyframes tk-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .tk-pain-grid,
  .tk-modules { grid-template-columns: repeat(2, 1fr); }
  .tk-channels,
  .tk-customs { grid-template-columns: 1fr; }
  .tk-cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .tk-hero { padding: 100px 0 60px; }
  .tk-hero-sub br,
  .tk-hero-meta { display: none; }
  .tk-pain-grid,
  .tk-modules { grid-template-columns: 1fr; }
  .tk-steps { grid-template-columns: 1fr; gap: 40px; }
  .tk-steps::before { display: none; }
  .tk-step { padding: 0; }
  .tk-bounds { grid-template-columns: 1fr; }
  .tk-tail br { display: none; }
  .tk-cta-form-wrap { padding: 24px; }
}
