/* page-specific styles — AI 小編官網 SaaS 服務 */

/* ── Hero mock: LINE chat ───────────────────────────── */
.line-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(101, 163, 13, 0.06), transparent 60%),
    var(--card, #fff);
}

.line-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 88%;
}

.line-msg-out {
  align-self: flex-end;
  align-items: flex-end;
}

.line-msg-in {
  align-self: flex-start;
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
  max-width: 94%;
}

.line-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #65a30d, #4d7c0f);
  letter-spacing: 0.02em;
}

.line-photo {
  border: 1px dashed var(--border, #d9dde3);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted, #6b7280);
  background: rgba(0, 0, 0, 0.02);
}

.line-bubble {
  border-radius: 16px;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 100%;
}

.line-bubble-out {
  background: #06c755;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.line-bubble-in {
  background: var(--card, #fff);
  color: var(--ink, #1a1a1a);
  border: 1px solid var(--border, #e2e5ea);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.line-gen-label {
  font-size: 12px;
  color: var(--muted, #6b7280);
  margin-bottom: 6px;
}

.line-gen-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink, #1a1a1a);
  margin-bottom: 6px;
}

.line-gen-meta {
  font-size: 12.5px;
  color: var(--muted, #6b7280);
  line-height: 1.5;
}

.line-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.line-btn {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

.line-btn-ghost {
  border: 1px solid var(--border, #d9dde3);
  color: var(--ink, #1a1a1a);
  background: transparent;
}

.line-btn-primary {
  background: #06c755;
  color: #fff;
}

.line-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted, #6b7280);
  margin-top: 2px;
}

.line-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65a30d;
  box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.18);
}

/* ── Pricing plan tag ───────────────────────────────── */
.plan-tag {
  display: inline-block;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted, #6b7280);
  text-transform: none;
}

/* ── Narrow phones ──────────────────────────────────── */
@media (max-width: 375px) {
  .line-chat {
    padding: 14px;
    gap: 12px;
  }

  .line-msg,
  .line-msg-in {
    max-width: 100%;
  }

  .line-bubble {
    font-size: 13px;
  }

  .line-avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}
