/* 产品运营助手样式 */
.product-operation-assistant {
  /* 基础界面样式继承自BaseInterface */
}

/* 产品类型术语高亮样式 */
.product-term {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9em;
  margin: 0 1px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.product-term:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* 推荐选项样式 */
.recommended {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white !important;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.recommended::before {
  content: "★";
  position: absolute;
  top: -2px;
  right: -2px;
  background: #fbbf24;
  color: #1f2937;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.recommended:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

/* 产品类型特定样式 */
.product-type-mobile-app {
  border-left: 4px solid #3b82f6;
}

.product-type-web-app {
  border-left: 4px solid #8b5cf6;
}

.product-type-saas {
  border-left: 4px solid #06b6d4;
}

.product-type-social-platform {
  border-left: 4px solid #f59e0b;
}

.product-type-ecommerce {
  border-left: 4px solid #ef4444;
}

.product-type-content-platform {
  border-left: 4px solid #84cc16;
}

.product-type-gaming {
  border-left: 4px solid #a855f7;
}

.product-type-fintech {
  border-left: 4px solid #10b981;
}

.product-type-edtech {
  border-left: 4px solid #f97316;
}

.product-type-healthtech {
  border-left: 4px solid #ec4899;
}

.product-type-enterprise {
  border-left: 4px solid #6b7280;
}

.product-type-marketplace {
  border-left: 4px solid #14b8a6;
}

/* 运营阶段指示器 */
.operation-stage-indicator {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 8px;
}

.stage-pre-launch {
  background: #fef3c7;
  color: #d97706;
}

.stage-early-stage {
  background: #dbeafe;
  color: #1e40af;
}

.stage-growth-stage {
  background: #dcfce7;
  color: #166534;
}

.stage-maturity {
  background: #f3e8ff;
  color: #7c3aed;
}

.stage-decline {
  background: #fee2e2;
  color: #dc2626;
}

.stage-pivot {
  background: #fdf4ff;
  color: #a21caf;
}

/* 运营阶段进度条 */
.operation-stage-progress {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}

.operation-stage-progress::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #059669, #10b981);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.stage-pre-launch .operation-stage-progress::before {
  width: 10%;
}

.stage-early-stage .operation-stage-progress::before {
  width: 30%;
}

.stage-growth-stage .operation-stage-progress::before {
  width: 60%;
}

.stage-maturity .operation-stage-progress::before {
  width: 85%;
}

.stage-decline .operation-stage-progress::before {
  width: 95%;
}

.stage-pivot .operation-stage-progress::before {
  width: 50%;
  background: linear-gradient(90deg, #a21caf, #c084fc);
}

/* 预算范围指示器 */
.budget-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.budget-level {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  transition: background 0.2s ease;
}

.budget-low .budget-level:nth-child(1) {
  background: #fbbf24;
}

.budget-medium .budget-level:nth-child(-n+2) {
  background: #f59e0b;
}

.budget-high .budget-level:nth-child(-n+3) {
  background: #d97706;
}

.budget-unlimited .budget-level {
  background: #059669;
}

/* 运营模块网格 */
.operation-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.operation-module-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.operation-module-card:hover {
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.operation-module-card.selected {
  border-color: #059669;
  background: #f0fdf4;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.operation-module-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  font-size: 0.95em;
}

.operation-module-description {
  font-size: 0.85em;
  color: #6b7280;
  line-height: 1.4;
}

/* KPI指标卡片 */
.kpi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.kpi-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.kpi-card:hover {
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.kpi-card.selected {
  border-color: #059669;
  background: #f0fdf4;
}

.kpi-value {
  font-size: 1.5em;
  font-weight: 700;
  color: #059669;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.8em;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 推广渠道可视化 */
.channels-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.channel-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.channel-tag:hover {
  background: #059669;
  color: white;
  border-color: #059669;
}

.channel-tag.selected {
  background: #059669;
  color: white;
  border-color: #059669;
}

/* 目标用户画像展示 */
.user-persona-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.user-persona-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-persona-title::before {
  content: "👤";
  font-size: 1.2em;
}

.user-persona-content {
  font-size: 0.9em;
  color: #4b5563;
  line-height: 1.5;
}

/* 时间框架时间线 */
.timeframe-timeline {
  position: relative;
  padding: 20px 0;
  margin: 16px 0;
}

.timeframe-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #059669;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #059669;
}

.timeline-item.active::before {
  background: #fbbf24;
  box-shadow: 0 0 0 2px #fbbf24;
}

.timeline-content {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
}

.timeline-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.timeline-description {
  font-size: 0.85em;
  color: #6b7280;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .operation-modules-grid {
    grid-template-columns: 1fr;
  }

  .kpi-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .channels-visual {
    justify-content: center;
  }

  .timeline-item {
    padding-left: 35px;
  }

  .timeframe-timeline::before {
    left: 14px;
  }

  .timeline-item::before {
    left: 8px;
  }
}

@media (max-width: 480px) {
  .kpi-cards {
    grid-template-columns: 1fr;
  }

  .product-term,
  .recommended {
    font-size: 0.8em;
    padding: 1px 4px;
  }

  .channel-tag {
    font-size: 0.8em;
    padding: 4px 8px;
  }
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
  .operation-module-card {
    background: #1f2937;
    border-color: #374151;
  }

  .operation-module-card:hover {
    border-color: #10b981;
    background: #111827;
  }

  .operation-module-card.selected {
    border-color: #10b981;
    background: #064e3b;
  }

  .kpi-card,
  .user-persona-card,
  .timeline-content {
    background: #1f2937;
    border-color: #374151;
  }

  .operation-module-title,
  .user-persona-title,
  .timeline-title {
    color: #f9fafb;
  }

  .operation-module-description,
  .kpi-label,
  .user-persona-content,
  .timeline-description {
    color: #d1d5db;
  }

  .channel-tag {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
  }

  .channel-tag:hover,
  .channel-tag.selected {
    background: #10b981;
    color: white;
    border-color: #10b981;
  }
} 