/* ===== P0 - Landing Page ===== */
.p0-hero { text-align: center; margin-bottom: 40px; }
.p0-badge {
  display: inline-block; padding: 6px 20px; border-radius: 20px;
  background: rgba(129,140,248,0.15); color: var(--accent-purple);
  font-size: 13px; letter-spacing: 2px; margin-bottom: 16px;
}
.p0-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.p0-desc { color: var(--text-secondary); font-size: 15px; max-width: 640px; margin: 0 auto; line-height: 1.6; }

.p0-pain-cards { display: flex; gap: 20px; margin-bottom: 32px; }
.pain-card {
  flex: 1; padding: 24px; border-radius: 12px; text-align: center;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s;
}
.pain-card:hover { transform: translateY(-4px); }
.pain-icon { font-size: 2rem; margin-bottom: 12px; }
.pain-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.pain-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.pain-red { border-color: rgba(239,68,68,0.3); }
.pain-yellow { border-color: rgba(251,191,36,0.3); }
.pain-purple { border-color: rgba(129,140,248,0.3); }

.p0-axp { margin-bottom: 32px; }
.axp-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.axp-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.axp-formula {
  font-size: 15px; font-weight: 600; margin-bottom: 12px; padding: 10px 16px;
  background: rgba(129,140,248,0.1); border-radius: 8px; display: inline-block;
}
.axp-details { display: flex; flex-direction: column; gap: 6px; color: var(--text-secondary); font-size: 13px; }
.axp-badge { text-align: center; min-width: 120px; }
.axp-badge-sub { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.axp-badge-main {
  font-size: 1.1rem; font-weight: 700; color: var(--accent-green);
  padding: 12px 24px; border-radius: 12px;
  background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3);
}
.p0-cta { text-align: center; margin-top: 24px; }
.cta-btn {
  padding: 14px 48px; border-radius: 28px; border: none;
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  color: white; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 24px rgba(129,140,248,0.4); }

/* ===== P1 - User Profile ===== */
.p1-content { display: flex; gap: 24px; margin-bottom: 32px; }
.p1-profile { flex: 1; }
.p1-journey { flex: 1; }
.profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(129,140,248,0.15);
}
.profile-name { font-size: 1.2rem; font-weight: 700; }
.profile-meta { color: var(--text-secondary); font-size: 13px; margin-top: 4px; }
.profile-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tag { padding: 12px; border-radius: 10px; background: rgba(255,255,255,0.03); }
.tag-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.tag-value { font-size: 14px; font-weight: 600; }
.tag-red .tag-value { color: var(--accent-red); }
.tag-yellow .tag-value { color: var(--accent-yellow); }
.tag-purple .tag-value { color: var(--accent-purple); }
.tag-green .tag-value { color: var(--accent-green); }

.journey-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.journey-steps { display: flex; flex-direction: column; gap: 12px; }
.journey-step {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 8px; cursor: pointer; font-size: 14px;
  background: rgba(255,255,255,0.03); transition: background 0.2s;
}
.journey-step:hover { background: rgba(255,255,255,0.08); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.green { background: var(--accent-green); }
.dot.purple { background: var(--accent-purple); }
.dot.yellow { background: var(--accent-yellow); }
.dot.red { background: var(--accent-red); }
.p1-footer { text-align: center; font-size: 15px; color: var(--text-secondary); padding-top: 8px; }

/* ===== P2 - Outbound Call Agent ===== */
.p2-content { display: flex; gap: 24px; }
.p2-content .agent-panel { flex: 0 0 35%; }
.p2-content .chat-area { flex: 1; }
.strategy-card {
  padding: 14px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(52,211,153,0.08); border-left: 3px solid var(--accent-green);
}
.strategy-label { font-size: 11px; color: var(--accent-green); margin-bottom: 6px; font-weight: 600; }
.strategy-text { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.strategy-basis { font-size: 12px; color: var(--text-secondary); }
.strategy-data { font-size: 12px; color: var(--accent-yellow); margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.stat-item { text-align: center; padding: 10px 4px; border-radius: 8px; background: rgba(255,255,255,0.04); }
.stat-value { font-size: 1.1rem; font-weight: 700; color: var(--accent-purple); }
.stat-label { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }
.agent-tag {
  padding: 12px; border-radius: 8px; font-size: 13px;
  background: rgba(129,140,248,0.08); border: 1px solid rgba(129,140,248,0.2);
}
.agent-tag-title { font-weight: 600; margin-bottom: 4px; }
.agent-tag-desc { color: var(--text-secondary); font-size: 12px; }

.chat-title { font-weight: 700; margin-bottom: 16px; }
.chat-messages { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.chat-msg { display: flex; align-items: flex-start; gap: 10px; }
.chat-msg.user { flex-direction: row-reverse; }
.msg-avatar { font-size: 1.5rem; flex-shrink: 0; }
.msg-bubble {
  padding: 12px 16px; border-radius: 12px; max-width: 80%;
  font-size: 14px; line-height: 1.6;
}
.chat-msg.ai .msg-bubble { background: rgba(129,140,248,0.12); border: 1px solid rgba(129,140,248,0.2); }
.chat-msg.user .msg-bubble { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.2); }
.verdict-card {
  padding: 16px; border-radius: 10px; margin-top: 12px;
  background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2);
}
.verdict-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.verdict-level { font-size: 14px; margin-bottom: 4px; }
.verdict-next { font-size: 13px; color: var(--accent-purple); }

/* ===== P3 - WeChat Agent ===== */
.p3-content { display: flex; gap: 24px; }
.p3-content .agent-panel { flex: 0 0 40%; }
.p3-content .wechat-mock { flex: 1; }
.flow-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.flow-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 8px; }
.flow-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: rgba(129,140,248,0.2); color: var(--accent-purple);
}
.flow-text { font-size: 13px; line-height: 1.5; }
.breakpoint-card {
  padding: 14px; border-radius: 10px;
  background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2);
}
.breakpoint-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.breakpoint-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.breakpoint-stat { font-size: 14px; font-weight: 700; color: var(--accent-green); }

.wechat-header {
  background: #07c160; color: white; padding: 14px 20px;
  border-radius: 12px 12px 0 0; font-weight: 600; text-align: center;
}
.wechat-chat { padding: 20px; background: rgba(255,255,255,0.02); border-radius: 0 0 12px 12px; }
.wechat-system-msg {
  text-align: center; font-size: 12px; color: var(--text-secondary);
  margin-bottom: 16px; padding: 6px 0;
}
.wechat-bubble { margin-bottom: 14px; max-width: 85%; }
.wechat-bubble.advisor { margin-right: auto; }
.wechat-bubble.user { margin-left: auto; }
.wechat-bubble-text {
  padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.6;
  white-space: pre-line;
}
.wechat-bubble.advisor .wechat-bubble-text { background: rgba(129,140,248,0.12); }
.wechat-bubble.user .wechat-bubble-text { background: rgba(52,211,153,0.12); }
.wechat-link {
  display: block; padding: 10px 16px; margin-top: 8px;
  background: rgba(7,193,96,0.1); border: 1px solid rgba(7,193,96,0.3);
  border-radius: 8px; color: var(--accent-green); font-size: 13px;
  cursor: pointer; text-decoration: none;
}
.wechat-bubble-teaser { font-size: 12px; color: var(--text-secondary); margin-top: 8px; padding: 0 16px; }
