/* ==========================================================================
   拓盟传媒 · 模块样式（Bento 视觉 / 价格 / FAQ / 案例轮播）
   依赖 style.css 的变量与基础类。暖色品牌体系，规避 AI 感彩虹渐变。
   ========================================================================== */

/* ---------- Bento Hero ---------- */
.hero-bento {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  padding: var(--sp-8) 0;
}
.hero-bento::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,182,39,.18), transparent 46%),
    radial-gradient(circle at 88% 80%, rgba(230,57,70,.18), transparent 50%);
  pointer-events: none;
}
.bento-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "lead lead c1 c2"
    "lead lead c3 c4";
  gap: var(--sp-3);
  align-items: stretch;
}
.bento-lead {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-4);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.bento-lead .eyebrow {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255,182,39,.15);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.bento-lead h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: var(--sp-2);
}
.bento-lead h1 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bento-lead .lead {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: var(--sp-3);
}
.bento-lead .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}
.bento-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.bento-tags span {
  padding: 6px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 13px;
}
.bento-cell {
  position: relative;
  border-radius: var(--r-lg);
  padding: var(--sp-3);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}
.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(255,182,39,.5);
  background: rgba(255,255,255,.10);
}
.bento-cell .b-ico { font-size: 22px; }
.bento-cell .b-num {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bento-cell .b-label {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 4px;
}
.bento-cell.c1 { grid-area: c1; }
.bento-cell.c2 { grid-area: c2; }
.bento-cell.c3 { grid-area: c3; }
.bento-cell.c4 { grid-area: c4; }
.bento-cell.accent-red   { background: linear-gradient(135deg, rgba(230,57,70,.30), rgba(255,127,63,.18)); border-color: rgba(255,127,63,.4); }
.bento-cell.accent-gold  { background: linear-gradient(135deg, rgba(255,182,39,.28), rgba(255,127,63,.16)); border-color: rgba(255,182,39,.4); }
.bento-cell.accent-blue  { background: linear-gradient(135deg, rgba(42,111,219,.28), rgba(0,194,215,.18)); border-color: rgba(0,194,215,.4); }

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "lead lead"
      "c1 c2"
      "c3 c4";
  }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; grid-template-areas: "lead" "c1" "c2" "c3" "c4"; }
}

/* ---------- 服务内容参照（不标价，按内容与适用对象呈现） ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.scope-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  transition: all .25s;
  overflow: hidden;
}
.scope-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold); }
.scope-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2); }
.scope-ico {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.scope-name { font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.scope-tagline { font-size: 13px; color: var(--text-3); }
.scope-desc { font-size: 14px; color: var(--text-2); margin-bottom: var(--sp-2); }
.scope-sub { font-size: 13px; font-weight: 700; color: var(--navy); margin: 10px 0 6px; }
.scope-list { list-style: none; padding: 0; margin: 0 0 var(--sp-2); }
.scope-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.scope-list li:last-child { border-bottom: 0; }
.scope-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 6px;
  color: var(--red); font-weight: 800;
}
.scope-for {
  font-size: 13px; color: var(--text-2);
  background: var(--bg); border-radius: var(--r-md);
  padding: 10px 14px;
}
.scope-for b { color: var(--navy); }
.scope-note { text-align: center; color: var(--text-3); font-size: 13px; margin-top: var(--sp-3); }

@media (max-width: 760px) { .scope-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q .faq-ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: transform .25s, background .25s, color .25s;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--grad-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }
.faq-a-inner p { margin: 0; }

/* ---------- Case carousel ---------- */
.case-carousel { position: relative; }
.case-viewport { overflow: hidden; border-radius: var(--r-xl); }
.case-track {
  display: flex;
  gap: var(--sp-3);
  transition: transform .5s ease;
  will-change: transform;
}
.case-slide { flex: 0 0 calc((100% - 2 * var(--sp-3)) / 3); min-width: 0; }
.case-slide .case-card { height: 100%; }
.case-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: #fff;
  aspect-ratio: 4 / 3;
  display: flex;
}
.case-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,23,51,.95), rgba(10,23,51,.15) 55%, transparent);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.case-card h3 { color: #fff; font-size: 1.1rem; margin-top: 6px; }
.case-card .meta { font-size: 13px; color: rgba(255,255,255,.75); }
.case-card .metric {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 8px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: var(--sp-3); }
.case-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.case-btn:hover { background: var(--grad-primary); color: #fff; border-color: transparent; }
.case-dots { display: flex; gap: 8px; }
.case-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.case-dot.active { background: var(--grad-primary); width: 26px; border-radius: 6px; }

@media (max-width: 992px) { .case-slide { flex-basis: calc((100% - var(--sp-3)) / 2); } }
@media (max-width: 560px) { .case-slide { flex-basis: 100%; } }

/* ---------- 资料中心：卡片升级（领取按钮 / 顶部分色条） ---------- */
.scope-card { display: flex; flex-direction: column; }
.scope-card .scope-head {
  position: relative;
  margin: calc(var(--sp-4) * -1) calc(var(--sp-4) * -1) var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
}
.scope-card .scope-head::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--grad-primary);
}
.scope-card .scope-desc,
.scope-card .scope-sub,
.scope-card .scope-list,
.scope-card .scope-for { flex: 0 0 auto; }
.scope-get {
  display: block; text-align: center; margin-top: auto;
  background: var(--grad-primary); color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px; border-radius: var(--r-md); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.scope-get:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.scope-wx { margin: 10px 0 2px; font-size: 12px; color: var(--text-2); text-align: center; }
.scope-wx b { color: var(--navy); }

.scope-link {
  display: inline-block;
  margin: 14px 0 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.scope-link:hover { color: var(--red); }

/* ---------- 资料中心：三步获取路径 ---------- */
.step-flow {
  display: flex; align-items: stretch; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.step-item {
  flex: 1 1 220px; min-width: 200px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.step-body h3 { font-size: 1rem; color: var(--navy); margin: 0 0 4px; }
.step-body p { font-size: 13px; color: var(--text-2); margin: 0; }
.step-arrow { flex: 0 0 auto; align-self: center; font-size: 24px; color: var(--text-3); font-weight: 800; }
@media (max-width: 760px) { .step-arrow { transform: rotate(90deg); } }

/* ---------- 资料中心：复制微信 / 分享 按钮 ---------- */
.copy-btn, .share-btn {
  cursor: pointer; border: 1px solid var(--border); background: #fff;
  color: var(--navy); border-radius: 10px; padding: 7px 13px;
  font-size: 13px; font-weight: 700; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1;
}
.copy-btn { background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; border-color: transparent; }
.copy-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.share-btn:hover { border-color: var(--brand, #2A6FDB); color: var(--brand, #2A6FDB); transform: translateY(-1px); }
.copy-btn.copied { background: var(--brand, #2A6FDB); }
.scope-wx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 2px; font-size: 12px; color: var(--text-2); }
.scope-wx b { color: var(--navy); }

/* ---------- 资料中心：裂变激励区 ---------- */
.fission {
  background: linear-gradient(135deg, #0b1f3a 0%, #15396b 100%);
  color: #fff; border-radius: var(--r-xl); padding: 40px 28px; margin-top: 14px;
  position: relative; overflow: hidden;
}
.fission::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(42,111,219,.45), transparent 70%); border-radius: 50%;
}
.fission .section-title h2, .fission .section-title .lead { color: #fff; }
.fission .section-title .lead { color: rgba(255,255,255,.75); }
.fission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; position: relative; z-index: 1; }
.fission-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 22px 20px; backdrop-filter: blur(4px);
}
.fission-card .fc-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  background: var(--grad-primary); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.fission-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: #fff; }
.fission-card p { font-size: 13px; color: rgba(255,255,255,.8); margin: 0 0 14px; line-height: 1.6; }
.fission-card .fc-reward { font-size: 13px; color: #ffd76a; font-weight: 700; }
.fission-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; position: relative; z-index: 1; }
.fission-actions .copy-btn { background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; }
.fission-actions .share-btn { background: #fff; color: var(--navy); }
.fission-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.6); position: relative; z-index: 1; }
@media (max-width: 700px) { .fission-grid { grid-template-columns: 1fr; } }
