/* ============================================================
   AI运营工具 · 独立产品页
   ============================================================ */

.page-ops .nav a.is-active {
  color: var(--teal);
}
.page-ops .nav a.is-active::after {
  background: var(--teal);
  transform: scaleX(1);
}
.page-ops .hero-tag {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal);
}
.page-ops .section-eyebrow {
  color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
}

.ops-hero {
  position: relative;
  padding: 140px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 55%);
}
.ops-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ops-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.ops-blob.b1 {
  width: 420px; height: 420px;
  background: #14B8A6;
  top: -80px; right: -60px;
}
.ops-blob.b2 {
  width: 280px; height: 280px;
  background: #F59E0B;
  bottom: -40px; left: 8%;
}

.ops-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ops-hero-copy .hero-tag {
  justify-content: flex-start;
}
.ops-hero-copy .hero-title {
  text-align: left;
  font-size: 48px;
  margin-bottom: 18px;
}
.ops-hero-copy .hero-title .hl {
  background: linear-gradient(135deg, var(--teal), #0D9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ops-hero-copy .hero-sub {
  text-align: left;
  margin: 0 0 28px;
  max-width: 540px;
}
.ops-hero-copy .hero-ctas {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.ops-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ops-pills span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---- 首屏示意图：消息流 + 爆款卡 ---- */
.ops-stage {
  position: relative;
  min-height: 420px;
}

.ops-phone {
  width: 280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 14px 14px 18px;
  position: relative;
  z-index: 1;
}
.ops-phone-bar {
  width: 72px;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  margin: 4px auto 14px;
}
.ops-phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ops-phone-head .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14B8A6, #0D9488);
}
.ops-phone-head b {
  font-size: 13px;
  color: var(--primary);
}
.ops-phone-head span {
  margin-left: auto;
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
}

.ops-msg {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.ops-msg.intent {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
}
.ops-msg .badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #B45309;
  background: #FDE68A;
  border-radius: 4px;
  padding: 1px 6px;
  vertical-align: middle;
}
.ops-msg.reply {
  background: #CCFBF1;
  color: #0F766E;
}

.ops-float {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  width: 200px;
}
.ops-float.viral {
  right: 0;
  top: 36px;
}
.ops-float.alert {
  left: 0;
  bottom: 28px;
}
.ops-float .k {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.ops-float b {
  display: block;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 4px;
}
.ops-float p {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}
.ops-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-top: 8px;
}
.ops-bars i {
  display: block;
  width: 10px;
  background: var(--teal);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
}
.ops-bars i:nth-child(1) { height: 40%; background: #99F6E4; }
.ops-bars i:nth-child(2) { height: 68%; }
.ops-bars i:nth-child(3) { height: 52%; background: #5EEAD4; }
.ops-bars i:nth-child(4) { height: 92%; }
.ops-bars i:nth-child(5) { height: 74%; background: #F59E0B; }

/* ---- 能力模块 ---- */
.ops-section {
  padding: 88px 0;
}
.ops-section.soft { background: var(--bg-soft); }
.ops-section.white { background: #fff; }

.ops-section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.ops-section-head .section-title {
  font-size: 32px;
}

.ops-module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-bottom: 24px;
}
.ops-module:last-child { margin-bottom: 0; }
.ops-module.is-flip .ops-module-visual { order: -1; }

.ops-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.ops-module h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.ops-lead {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 22px;
}

.ops-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ops-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ops-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.ops-ico svg {
  width: 20px;
  height: 20px;
}
.ops-ico.teal { background: rgba(20, 184, 166, 0.12); color: var(--teal); }
.ops-ico.amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.ops-ico.blue { background: rgba(59, 130, 246, 0.12); color: var(--accent); }
.ops-ico.purple { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.ops-ico.coral { background: rgba(239, 68, 68, 0.12); color: var(--coral); }
.ops-point b {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
  margin-bottom: 2px;
}
.ops-point span {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.ops-module-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ops-illust {
  border-radius: 18px;
  padding: 28px 24px;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.ops-illust.watch {
  background: linear-gradient(160deg, #CCFBF1 0%, #F0FDFA 100%);
}
.ops-illust.viral {
  background: linear-gradient(160deg, #FEF3C7 0%, #FFF7ED 100%);
}
.ops-illust svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* 产品截图预留：有图再往里放 <img> */
.ops-shot-slot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1.5px dashed #CBD5E1;
  border-radius: 16px;
  background: #F8FAFC;
}

.ops-shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ops-shot-row .ops-shot-slot {
  aspect-ratio: 4 / 3;
}

/* ---- 痛点 ---- */
.ops-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ops-pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.ops-pain .ops-ico { margin-bottom: 14px; }
.ops-pain h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.ops-pain p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---- 流程 ---- */
.ops-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.ops-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
}
.ops-step .ops-ico {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.ops-step .ops-ico svg { width: 24px; height: 24px; }
.ops-step .n {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
}
.ops-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.ops-step p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ---- 适用对象 ---- */
.ops-who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ops-who-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}
.ops-who-card .ops-ico {
  margin: 0 auto 12px;
}
.ops-who-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.ops-who-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

.ops-callout {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 3px solid var(--teal);
  background: #F0FDFA;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.7;
}

.ops-cta {
  margin: 0;
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.ops-cta h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ops-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}
.ops-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ops-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}
.ops-cta .btn-primary:hover {
  background: #F8FAFC;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.ops-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.ops-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
.ops-cta-legal {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.ops-cta-legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ops-cta-legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .ops-hero-inner,
  .ops-module,
  .ops-pain-grid,
  .ops-steps,
  .ops-who,
  .ops-shot-row {
    grid-template-columns: 1fr;
  }
  .ops-module.is-flip .ops-module-visual { order: 0; }
  .ops-hero-copy .hero-title { font-size: 36px; }
  .ops-float.viral { right: 8px; }
  .ops-float.alert { left: 8px; }
  .ops-module { padding: 24px 20px; }
}

@media (max-width: 640px) {
  .ops-hero { padding: 120px 0 48px; }
  .ops-section { padding: 64px 0; }
  .ops-stage { min-height: 0; }
  .ops-float { display: none; }
  .ops-phone { width: 100%; max-width: 280px; }
  .ops-cta { padding: 32px 20px; }
  .ops-cta h3 { font-size: 20px; }
  .ops-cta-actions { flex-direction: column; align-items: stretch; }
  .ops-cta-actions .btn { justify-content: center; }
}
